# All channels
Sachin D. Shinde@sachin-shinde
Update React context local state at the root of the App
Hello, I've learned about Apollo built in local state today and figured out it requires a lot of boilerplate code. I'm using Apollo hooks to query remote data and React context hook for my local state. I'd like to keep it that way for now to keep things simple. Now there's one…
How to re-run local resolvers on an interval basis?
Re-posting from StackOverflow. I use a blend of remote and local properties, like this: I have resolvers in place for qux and quux, but I'd like to recompute the data once every so often. I thought about writing directly to the cache with cache.writeData and setInterval, but…
Apollo-cache-persist Vs a Local Database in Mobile apps
I am struggling for days to know if using apollo-cache-persist (https://github.com/apollographql/apollo-cache-persist) could totally replace the use of a local database in a mobile application (Sqlite for example) Aside from persisting data, there is other requirements that I…
Local state management strategy for paginated List
I trying to use apollo local state management for my app. So, I fetch a list of events in a paginated way. So I want to be able to get all the events available in the cache. What is the best solution, init an empty list in the cache of the client and fill it each time I recieve…
Created a way to abstract class logic with React and Apollo using local cache
Check out the full example here: https://stackoverflow.com/questions/58383574/data-binding-class-attributes-to-a-react-component Any thoughts on this type of abstraction / state management? It makes logic testing much simpler for me.