Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Vue-Apollo GraphQL Fundamentals

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Updating the cache after a mutation

In this lesson, we'll learn how to update the Apollo cache after a mutation has occurred instead of refetching the entire query. Generally speaking, it is more performant to update the cache rather than refetching the whole query, as we already have the results from the previous network request.

Lesson Resources GraphQL mutations documentation