T3 Stack · Concept
Input validation
tRPC lets you define typed API procedures in TypeScript and call them from the frontend. It infers router types, so you get type checking and editor completion without generated API code.
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 CSSDrizzleCreate T3 App