Manage local state in React using GraphQL and Apollo Client.

Share this video with your friends

Send Tweet

You already know that Apollo Client can manage your remote data and state from a GraphQL server, but did you know that you can also use it to manage local state in your React apps? You can!

apollo-link-state lets you query and mutate local state the same as you would a GraphQL server. This means that you don't need to add another dependency like Redux or MobX to your app.

Managing your remote and local state using the same interface results in a codebase that's easier to maintain and reason about.