State of Bliss: Handle Your State with #react, #apollo, and #unstated
▻https://hackernoon.com/state-of-bliss-handle-your-state-with-react-apollo-and-unstated-f79f8722
Apollo is the best solution for managing remote data with a client cache. But if you are already using Apollo (or another client cache like Relay), the question is: What should you do about the rest of your client state? React’s new context API (available in 16.3 or as a polyfill) has opened up new possibilities for dealing with app state. At OK GROW!, we’ve been trying to find that blissful state that combines the data from the server, component state, and the app state, which hasn’t always been smooth.App state is tinyI became interested in Redux after watching Dan Abramov’s seminal talk at ReactEurope. After I’d learned the basics of Redux, I began looking for information on “advanced Redux.” But that brought me face-to-face with the problem with Redux for Apollo users: Every tutorial I (...)