You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on "Go to other page" (when you initialy start it might fail with a hydration error. just press ctrl+shift+r to hard reload)
Open Network tab in dev tools
Click on "Invalidate query"
Click on "Go back"
You can observe that no request is made
Expected behavior
Queries should be refetched when they have been invalided in unmounted state as they get mounted again.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
OS: Windows
Browser: Chrome
JS-Environment: Bun
Tanstack Query adapter
solid-query
TanStack Query version
5.64.2
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
BierDav
changed the title
[solid-query] Queries with ìsInvalidated` don't get refetched on mount
[solid-query] Queries with isInvalidated: true don't get refetched on mount
Jan 20, 2025
BierDav
changed the title
[solid-query] Queries with isInvalidated: true don't get refetched on mount
[solid-query] Queries with isInvalidated: true won't get refetched on mount
Jan 20, 2025
Describe the bug
Youtube-Video that explains the issue: https://youtube.com/shorts/mYEFCUWieqM
Your minimal, reproducible example
https://codesandbox.io/p/github/BierDav/temp-tanstack-query-ssr-bug/invalidate-bug
Steps to reproduce
Expected behavior
Queries should be refetched when they have been invalided in unmounted state as they get mounted again.
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
Tanstack Query adapter
solid-query
TanStack Query version
5.64.2
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: