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.
- For update cache will be auto-updated provided that mutation is returning mutated field
- For insert/delete cache will have to be updated manually