-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Which project does this relate to?
Router
Describe the bug
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
).
Your Example Website or App
https://github.com/ldhwaddell/tanstack-solid-router-query
Steps to Reproduce the Bug or Issue
- Clone the repo above
- Run
bun i
- Run
bun dev
and visitlocalhost:3000
Expected 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
- 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.
Dillpickleschmidt
Metadata
Metadata
Assignees
Labels
No labels