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
Look at Page.tsx - notice that pageQuery query function resolves to pageQuery API response. However, when you print it, pageQuery.data: "ComponentA API response" is rendered instead.
Note that this is an Astro project and the client:load directive is not used, so this page is never hydrated.
Describe the bug
During SSR,
query.data
is receiving data from another query function.Your minimal, reproducible example
https://stackblitz.com/edit/github-pqy8j7-s2k3r8?file=src%2Fcomponents%2FPage.tsx
Steps to reproduce
Page.tsx
- notice thatpageQuery
query function resolves topageQuery API response
. However, when you print it,pageQuery.data: "ComponentA API response"
is rendered instead.client:load
directive is not used, so this page is never hydrated.Expected behavior
Output is
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Chrome, Windows
Tanstack Query adapter
solid-query
TanStack Query version
5.30.3
TypeScript version
No response
Additional context
cc @ardeora
The text was updated successfully, but these errors were encountered: