TRPC is a typesafe Remote Procedure Call framework. Zod allows you to define a schemas, use it for validation, and then infer the TypeScript type based on thatschema. We can get started with a basic Next application, and add a few additional dependencies in order to use tRPC.

7m read timeFrom sitepen.com
Post cover image
Table of contents
Type Safe APIs with tRPCGetting StartedKneel before ZodCreating a RPC endpointIntegrate with the ClientWhy tRPC?Still in fluxSummary
1 Comment

Sort: