-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Support a TRPC client in App Router Server Components #34
Conversation
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link to collect XP and win prizes! |
apps/web/utils/trpc-provider.tsx
Outdated
|
||
return ( | ||
<trpc.Provider client={trpcClient} queryClient={queryClient}> | ||
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to add HydrationClient here so we can pass trpcState from server to it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed
6b37c70
to
f3b1f5a
Compare
bf84df9
to
b4dcd9d
Compare
1965df3
to
3d05a13
Compare
a74e8c1
to
fb1ca6e
Compare
3d05a13
to
f72d7e7
Compare
What does this PR do?
trpc
package, Next 13 is currently not compatible with trpc.Requirement/Documentation
trpc
packageType of change