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
In a solid based Tanstack router or start app, using useQuery outside of a route loader causes the browser to stay in loading state even once data has finished loading.
I have also tested this with a setupRouterSsrQueryIntegration function that mirrors the React one and has the same issues (test-ssr-query-integration.tsx).
The browser will indicate that it has finished loading once the data populates on screen.
Screenshots or Videos
Screen.Recording.2025-09-01.at.6.20.40.PM.mov
Platform
Router / Start Version: 1.131.31
OS: Mac
Browser: chrome, safari
Browser Version: 140.0.7339.77
Bundler: vite
Bundler Version: 7.1.4
Additional context
I recognize this may have to do with how Tanstack Query works under the hood in Solid. I thought it best to report the issue here rather than the Query repo, as the Query lib is still working as expected - the router is having the trouble.
Which project does this relate to?
Router
Describe the bug
In a
solidbased Tanstack router or start app, usinguseQueryoutside of a route loader causes the browser to stay in loading state even once data has finished loading.I have also tested this with a
setupRouterSsrQueryIntegrationfunction that mirrors the React one and has the same issues (test-ssr-query-integration.tsx).Your Example Website or App
https://github.com/ldhwaddell/tanstack-solid-router-query
Steps to Reproduce the Bug or Issue
bun ibun devand visitlocalhost:3000Expected behavior
The browser will indicate that it has finished loading once the data populates on screen.
Screenshots or Videos
Screen.Recording.2025-09-01.at.6.20.40.PM.mov
Platform
Additional context
I recognize this may have to do with how Tanstack Query works under the hood in Solid. I thought it best to report the issue here rather than the Query repo, as the Query lib is still working as expected - the router is having the trouble.