Why is create-t3-app using TRPCReactProvider and not createTRPCNext?

Why is create-t3-app using TRPCReactProvider and not createTRPCNext?
5 Replies
BillyBob
BillyBobOP11mo ago
I have started on my own small project and taken inspiration from create-t3-app. Although i have a separate server / backend with fastify / trpc. I saw how create-t3 was doing it and wondered why.
plyglt
plyglt10mo ago
I'd also be interested in this
Endgame1013
Endgame101310mo ago
I think the createTRPCNext function is specific to the /pages directory in Next.js, whereas TRPCReactProvider is supported by the /app directory.
Max
Max8mo ago
Yeah took me a long time to figure this out. Docs are out of date. For future people. Example of trpc with app router, it's in a mono but good example https://github.com/t3-oss/create-t3-turbo
Max
Max8mo ago
GitHub
GitHub - juliusmarminge/acme-corp
Contribute to juliusmarminge/acme-corp development by creating an account on GitHub.
Want results from more Discord servers?
Add your server