We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when using preload, the query runs on the client again needlessly
export const route = { preload() { useQueryClient().prefetchQuery(query); }, } satisfies RouteDefinition;
https://stackblitz.com/edit/node-e9nbpmct
open stackblitz preview in new tab
when coming from an i fixed this by setting staleTime: 10 * 1000 but the bug still occurs when coming from a fresh server request.
staleTime: 10 * 1000
Every time
No response
OS: Linux Browser: Chrome
solid-query
^5.69.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
when using preload, the query runs on the client again needlessly
Your minimal, reproducible example
https://stackblitz.com/edit/node-e9nbpmct
Steps to reproduce
open stackblitz preview in new tab
Expected behavior
when coming from an i fixed this by setting
staleTime: 10 * 1000
but the bug still occurs when coming from a fresh server request.How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
OS: Linux
Browser: Chrome
Tanstack Query adapter
solid-query
TanStack Query version
^5.69.0
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: