Skip to content
Discussion options

You must be logged in to vote

I would set the data in the query cache. It sounds like you want cache normalization like this: #531

Also, if you call useQuery() in a store, it will never get gced. You can use defineQuery or defineQueryOptions. I recommend to check https://pinia-colada.esm.dev/guide/queries.html#Organizing-Queries

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #550 on April 13, 2026 06:05.