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
Neto4mo 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
JetrakOP4mo 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
Neto4mo ago
It’s personal preference but I would use trpc

Did you find this page helpful?