Rich
TTCTheo's Typesafe Cult
•Created by Rich on 12/22/2023 in #questions
Server Side Rendering & TRPC Router / Client Code
Hey guys I'm using t3 stack and trying to load data server side with hydration/dehydration - not sure I've done this right though. I've added another react-query (v5) provider with the hydration boundary in the page... Then realised there's already the TRPC context & provider, so I updated trpc server/client/next/react-query to:
"@trpc/client": "next",
"@trpc/next": "next",
"@trpc/react-query": "next",
"@trpc/server": "next",
But it's all going wrong now 😄
Anyone have any experience with this?
3 replies