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

Why is create-t3-app using TRPCReactProvider and not createTRPCNext?
5 Replies
BillyBob
BillyBobOP12mo 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
plyglt11mo ago
I'd also be interested in this
Endgame1013
Endgame101311mo ago
I think the createTRPCNext function is specific to the /pages directory in Next.js, whereas TRPCReactProvider is supported by the /app directory.
Max
Max9mo 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
Max9mo 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