Børge
Børge3w ago

createHydrationHelpers

Can someone help me understand createHydrationHelpers, and what it exactly does? I'm also wondering, if it's still needed, in the new way of handling react query with tRPC. I saw a PR on the ct3a github, where they said that the legacy integration package is still necessary, for that specific function. Also that it could be remvoed once this https://github.com/vercel/next.js/discussions/60640 is resolved, but I don't think that's going to happen any time soon.
GitHub
Allow Client Components access to request headers during SSR · ver...
Goals Allow client components to make authenticated fetch requests during the SSR prepass Non-Goals Server Components, as that's already possible using the headers() function Fetch requests mad...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?