Using Server Actions with tRPC
The builder-pattern for creating procedures which was introduced in tRPC v10 has been massively appreciated by the community, and many libraries have adopted similar patterns.
There's even been coined a term tRPC like XYZ
as evidence of the growing popularity of this pattern. In fact, the other day I saw someone
wondering if there was a way to write CLI applications with a similar API to tRPC.
Sidenote, you can even use tRPC directly to do this. But that's not what we're here to talk about today,
we're going to talk about how to use tRPC with server actions from Next.js.