Update GraphCache cacheExchange Directly After a urql Mutation

InstructorKadi Kraman

Share this video with your friends

Send Tweet

We'll define a custom update function to run when the addBookmark mutation finishes to add the bookmark in the bookmarks list.

Resources:

  • GraphCache updates: https://formidable.com/open-source/urql/docs/graphcache/cache-updates/

Checkpoint: Update cache after mutation