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:Jump to 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...
4 Replies
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...
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
trpc is stable
next app dir isnt
people can't make too big of decisions as vercel itself isnt decided yet
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