Fredrik Höglund

Results 45 comments of Fredrik Höglund

I think we can land https://github.com/TanStack/query/pull/4738 first, I think it needs some changes but should be pretty quick? So if you want to modify this to remove the `HydrateOnClient`-wrapper, feel...

I took the liberty to push some changes to this, I hope that was okay. * Removed `HydrateOnClient` in favour of `Hydrate` (that PR is ready to be merged now`...

There's an issue to track this here, which includes a work around: https://github.com/TanStack/query/issues/4933

Yeah, I think we _could_ probably do it in a minor, it doesn't break anything, but it will probably be easier to include together with the other work being done...

At least on the surface this is an easy fix with no downsides I can see that helps early adopters play with the new APIs without a bunch of wrapping,...

Absolutely phenomenal work on this! 👏 I've done an initial skim and intend to read it more in depth soon. > ### Getting data from RSC into the SSR pass...

> so we would probably end up with a component that would have to be rendered out. (passing it into the Provider doesn't make sense, since that is in the...

Thanks for the bug report and the ping, makes sense this fails and I agree we should update the docs. The _reason_ it fails is a bit more straightforward then...

> If you comment out the prefetch, the suspense query does settle though. Oh yeah, the `ensureQueryData` is definitely involved. I think I saw the `useSuspenseQuery` retry 3 times before...

This was fixed by a contribution from @toofff in [v5.54.0](https://github.com/TanStack/query/releases/tag/v5.54.0)! 🎉