Pluralsight: Consuming a GraphQL API with Apollo Client 3 and React 2020 Flashcards

1
Q

05 Mutations - Modify and Update GraphQL Data / 06 Updating Cache after Mutations

How to see changes after mutation?

A

It depends what mutation is doing.

  1. For update cache will be auto-updated provided that mutation is returning mutated field
  2. For insert/delete cache will have to be updated manually
How well did you know this?
1
Not at all
2
3
4
5
Perfectly