-
-
Notifications
You must be signed in to change notification settings - Fork 101
Pinia colada queries trigger too often #598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
UPD: video |
Describe precisely what are you execting to happen vs what is happening please |
What is expected? I expect all three queries to be updated. What is actually happening? all requests are updated except the first one the first request is not tracked because it is on the page from which the site is opened |
What is expected? 2025-03-11.12-43-54.mp4What is actually happening? Update two three 2025-03-11.12-44-35.mp4 |
This is a bug but the intended behavior would be for only the current page to automatically refetch. This is because by default only active queries are refetched. You will be able to pass an option to |
If you open a site with a page with a loader, it stops being tracked
This problem is present in nuxt (SSR false or true)
nuxt/loader
In vue such problem is not noticed
vue/loader
2025-03-11.11-53-07.mp4
logging shows that entry is not active
The text was updated successfully, but these errors were encountered: