DEV Community

Cover image for GraphQL Cache Updates Made Easy
Christian Lüdemann
Christian Lüdemann

Posted on

GraphQL Cache Updates Made Easy

Apollo Graphql comes with built-in support for caching which can be used as a state management system (which they recommend). There are a couple of different ways to update cache after an update in this state management system:

  • Refetch query
  • Built-in normalization
  • Update callback

This post will teach you when and how to do the different kinds of cache update strategies and show you some util functions to make cache updates as easy as a one-liner.

You can read the post here.

Top comments (0)