You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, after running @trpc/upgrade to codemod my code (NextJs app router with RSC), I noticed some other changes that could be mentioned in the documentation
Rename old TRPCProvider: I was coming from this doc, so there was already a TRPCProvider. Since the new code has a TRPCProvider returned from createTRPCContext, my own TRPCProvider needs to be renamed to something like AppTPRCProvider (or any other better names)
Migrate HydrateClient and server side trpc: HydrateClient is created according to this doc and included in all the pages with client side TRPC usage, trpc created in the same place is used by the server components. How shall we deal with them in the new integration?
This issue has been locked because we are very unlikely to see comments on closed issues. If you are running into a similar issue, please create a new issue. Thank you.
Activity
KATT commentedon Nov 2, 2026
🤖 Closing as you suggested: the Server Components page covers this. Thanks @CHC383!
github-actions commentedon Nov 3, 2026
This issue has been locked because we are very unlikely to see comments on closed issues. If you are running into a similar issue, please create a new issue. Thank you.