What are the files in the /trpc folder used for in T3 App Router?

I'm trying out the new create-t3-app with app router and am confused on the purpose of the /trpc folder since I couldn't find any documentation on it in the github or the docs site. Any help or guidance is appreciated./
No description
Solution:
Barry you don’t have to answer every question
Jump to solution
6 Replies
barry
barry13mo ago
It’s in beta even I don’t know what their purpose is Just check the contents, I would but on phone Should be self explanatory what their purpose are
Solution
cje
cje13mo ago
Barry you don’t have to answer every question
cje
cje13mo ago
react.tsx is trpc setup boilerplate for client components server.ts is trpc setup boilerplate for server components shared.ts includes stuff used by both
3eif
3eifOP13mo ago
Thank you both This answered my question
barry
barry13mo ago
No but the amount of times I haven’t gotten a single answer to my questions ☠️ i know it can be annoying. So I’d rather point him somewhere, besides, the answer is in the code, wouldn’t say it’s a bad response 🥸
cje
cje13mo ago
Hmm damn that’s fair actually
Want results from more Discord servers?
Add your server