|
|
|
|
|
by mikewhy
2245 days ago
|
|
> For example, Apollo will cache api requests, but what about local application state? Their local caching library is cumbersome to use. If you wanted to update local state, you either need to write a mutation, or manually fetch data from the cache and change it. Apollo is for GraphQL. I'm not sure why you'd try to use it's internal caching system to add local application stuff. Note that using Apollo does not stop you from continuing to use Redux. > The Query component can be fine for simple use cases, but it still ties your API calls directly to your component. This is what hooks aim to solve. |
|