trpc/react vs trpc/server

Can someone explain what the differences and when to use which? I just watched this https://youtu.be/PmBfq-SpzCU and am a little confused on that part. 1. What are the pros and cons of each? 2. Should I always use trpc/server for Server Components and trpc/react for Client Components? 2. What role does trpc/server play on Server Components when I can directly use db.query..posts.findMany()?
Theo - t3․gg
YouTube
This took us too long, I'm sorry
GITHUB LINK https://github.com/t3-oss/create-t3-app So proud of the entire Create-t3-app team for this massive ship. The T3 Stack has never been better. APP ROUTER IS HERE. Check out my Twitch, Twitter, Discord more at https://t3.gg S/O Ph4seOn3 for the awesome edit 🙏
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server