Skip to content
Pinia · Lesson 06 of 06 · Builds on Persisting state and plugins

Data fetching with Pinia Colada

Load and cache server data with useQuery(), give each item its own key, change data with useMutation(), and keep lists fresh by invalidating queries.

ref()computed()add()