Pinia Colada: Scalable Data Handling in Vue
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Refetching vs Refreshing Queries

In this lesson, we talk about the different between the useQuery refetch and refresh functions. refetch always goes back to the server no matter if the data in the cache is fresh or stale. refresh, on the other hand, will use the cached data if still fresh but go back to the server if it’s stale.

Links