Is tRPC still recommended?

I'm new to next.js/t3 stack and I have a hard time deciding if I need/want to use tRPC for my app (nothing super complex, just several forms and few possibly large tables where paging would be probably needed). Now, as far as I understand it, tRPC used to be a big DX improvement before the introduction of server actions. But is it still needed today or are server actions sufficient replacement? The t3 stack websites still mentions that tRPC is great, but Theo does not use it in his introductory video (creating t3gallery) and doesn't really explain the decision (maybe I have just missed it). Thank you!
3 Replies
Neto
Neto2mo ago
server components don't replace trpc if you need client focused features, trpc still is the best in class for that pagination with infinite scrolling more react-query esque features
Jetrak
JetrakOP2mo ago
Thank you! So if I plan to have 3-4 tables with paging, would you recommend tRPC just for that alone? Or is it an overkill?
Neto
Neto2mo ago
It’s personal preference but I would use trpc
Want results from more Discord servers?
Add your server