Skip to content
masterclass Buddy

T3 Stack · Concept

tRPC

tRPC lets you define typed backend procedures and call them from the frontend without API code generation. Input validation, router types, autocomplete, and React Query hooks connect the server and client.

Last updated

Syntax

createTRPCRouter({ procedureName: publicProcedure.input(schema).query(({ ctx, input }) => result) })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Zod
  • React Query
  • httpBatchLink
  • loggerLink
  • superjson
  • createInnerTRPCContext
  • createTRPCContext
  • AppRouter

Source: tRPC • Create T3 App. Checked 2026-11-03.