Closed
Description
Describe the bug
Solid-Query example returns repositoryQuery.data is undefined
Your minimal, reproducible example
https://stackblitz.com/edit/solidjs-templates-q6qdg3?file=src%2FApp.tsx
Steps to reproduce
- Create a SolidJS project from scratch.
- Use code specified in SolidQuery documentation to re-create the example.
- Observe error
repositoryQuery.data is undefined
.
My guess is SolidQuery is not interacting correctly with Solid's <Suspense>
Expected behavior
updated_at
should be displayed, or <div>Loading...</div>
should render while loading content.
How often does this bug happen?
Every time
Screenshots or Videos

Platform
- OS: MacOS
- Browser: Firefox
Tanstack Query adapter
solid-query
TanStack Query version
5.40.0
TypeScript version
5.3.3
Additional context
The example works as expected if i wrap it in <Show when={repositoryQuery.isSuccess}>
.
So my guess is SolidQuery is not interacting correctly with Solid's <Suspense>