SSR Streaming with Solid Query and TanStack Start with Solid.js #10905
Unanswered
NielsKrijnen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, when I try to use Solid Query in TanStack Start using the way React Query suggests it (https://tanstack.com/router/latest/docs/integrations/query, the Solid.js documentation is not complete), I am not able to concretely use
createQuery.If I disable SSR (
ssr: false), all the queries work as expected, but this comes with performance degradation.Putting the queries inside
<ClientOnly>also works, but this doesn't stream the data from the server.If I
ensureQueryDataon the server and pass the data in thecreateQueryit does work, but sometimes I don't want to wait for the data to load before rendering the page.Overall, SSR and Solid Query don't work as expected in TanStack Start.
Are there other ways or will this be fixed in newer versions?
Beta Was this translation helpful? Give feedback.
All reactions