dBianchii / server-actions-trpc-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server Actions with tRPC

I've seen a lot of people confused about how to use tRPC with Server Actions. Made some examples to compare so you can get an idea of how you should (and shouldn't) use them.

Also, read this great blog post by Sebastian, the Data Access Layer stuff is very relevant here (as tRPC makes a great data layer).

About


Languages

Language:TypeScript 89.7%Language:JavaScript 10.1%Language:CSS 0.3%