Streaming SSR React Query Data
I've got a slow ensureQueryData call that I would like to defer/stream to the client upon completion. The data is used in a Suspense-wrapped component on my page via. useSuspenseQuery. The data however gets redundantly fetched again on the client side (even w/ a query client stale time set to 60 seconds) b/c the query data streamed to the client does not get hydrated - only the HTML of the Suspense-wrapped component gets streamed to the client.
Are there any kinda efforts to implement something like react-query-next-experimental for TanStack Router? Such that not only HTML within suspense boundaries get hydrated, but query data as well?
Are there any kinda efforts to implement something like react-query-next-experimental for TanStack Router? Such that not only HTML within suspense boundaries get hydrated, but query data as well?