NextJS React Server Components with tRPC

Hello all ๐Ÿ˜„ I tried to give this one a try and I see there are just "hacky" ways as tRCP doesn't seem to have been implemented to be more server side. Does anyone know when this might be changed or anything from the team? The app I am building is still new and I am transitioning to Theo T3. Saw the Next13 convention and I am hooked to try the new app directory. Have a great weekend
Solution:
GitHub
feat: Support RSC & App Layouts ยท Issue #3297 ยท trpc/trpc
Describe the feature you'd like to request We should make official support for Next 13 app layouts & RSC. Describe the solution you'd like to see Being able to transparently use tRPC id...
Jump to solution
4 Replies
Solution
Neto
Netoโ€ข2y ago
GitHub
feat: Support RSC & App Layouts ยท Issue #3297 ยท trpc/trpc
Describe the feature you'd like to request We should make official support for Next 13 app layouts & RSC. Describe the solution you'd like to see Being able to transparently use tRPC id...
Futures Trader
Futures Traderโ€ข2y ago
I did see this on a different website. The approach looks the same. Is this a current "hack" until a more official form is implemented? But thank you a lot for sharing this one as I didn't know it was an open one
Neto
Netoโ€ข2y ago
trpc is stable next app dir isnt people can't make too big of decisions as vercel itself isnt decided yet
Futures Trader
Futures Traderโ€ข2y ago
Guess that makes sense. I'll consider holding off then on the new Next13 until something more stable comes into play especially the app dir. Thanks for the input. Appreciate it
Want results from more Discord servers?
Add your server