T3 Stack · Concept
Error formatting
tRPC lets you define backend APIs as TypeScript procedures and call them from the frontend with inferred types. It provides type safety and editor completion without separate API code generation.
Last updated
Syntax
createTRPCRouter({ procedureName: publicProcedure.input(schema).query(handler) })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Next.jsNextAuth.jsPrismaTailwind CSSDrizzle