extinkt1
TTCTheo's Typesafe Cult
•Created by extinkt1 on 10/21/2023 in #questions
Server actions replacing TRPC?
Hello all, I’m currently working on converting all my projects from JS w/SCSS -> TS w/tailwind (yikes). Going pretty well for those parts, but I’m looking to modernize my data fetching, and was figuring that I should dive into TRPC. But from what I’m understanding, server actions should be able to fully replace TRPC and still provide full type safety. Am I correct on this?
Then comes the question, if sever actions can replace TRPC, is it worth it? Does TRPC have benefits over what server actions offer?
12 replies