API reference
T3 Stack API reference
the T3 stack: Next.js, tRPC, Tailwind, Prisma
- Identifiers
- 103
- With full guides
- 0
- Types
- 8
Topics covered
- create-t3-app
- tRPC routers
- End-to-end types
- Prisma setup
- Auth.js integration
- Tailwind
- Env validation
- Deployment
Class
| Name | What it does |
|---|
TRPCError | Class |
Function
| Name | What it does |
|---|
createTRPCRouter | Function |
createCallerFactory | Function |
createTRPCContext | Function |
initTRPC | Function |
createServerSideHelpers | Function |
createEnv | Function |
mergeRouters | Function |
createTRPCReact | Function |
createTRPCNext | Function |
httpBatchLink | Function |
httpLink | Function |
loggerLink | Function |
splitLink | Function |
wsLink | Function |
createWSClient | Function |
createTRPCProxyClient | Function |
httpBatchStreamLink | Function |
getQueryKey | Function |
fetchRequestHandler | Function |
createTRPCContext (RSC) | Function |
Hook
| Name | What it does |
|---|
useUtils | Hook |
useQuery | Hook |
useMutation | Hook |
useInfiniteQuery | Hook |
useSubscription | Hook |
Type Alias
| Name | What it does |
|---|
RouterOutputs | Type Alias |
RouterInputs | Type Alias |
inferRouterInputs | Type Alias |
inferRouterOutputs | Type Alias |
AppRouter | Type Alias |
inferAsyncReturnType | Type Alias |
CreateTRPCReact | Type Alias |
Const
| Name | What it does |
|---|
publicProcedure | Const |
protectedProcedure | Const |
api | Const |
env | Const |
appRouter | Const |
Next.js App Router | Const |
tRPC | Const |
Prisma | Const |
Drizzle | Const |
Tailwind CSS | Const |
NextAuth.js | Const |
Zod | Const |
TypeScript | Const |
end-to-end typesafety | Const |
T3 Env | Const |
Router | Const |
Procedure | Const |
Middleware | Const |
Context | Const |
Input validation | Const |
Data transformer | Const |
superjson | Const |
Links | Const |
Batching | Const |
Subscriptions | Const |
Server-side calls | Const |
RSC integration | Const |
Error formatting | Const |
Inference helpers | Const |
Public procedure | Const |
Protected procedure | Const |
Admin procedure | Const |
Middleware chaining | Const |
Inner context | Const |
Outer context | Const |
Error formatter | Const |
onError handler | Const |
superjson transformer | Const |
Batching link | Const |
Streaming link | Const |
WebSocket link | Const |
Server Components caller | Const |
Prefetching | Const |
Hydration | Const |
tRPC Panel | Const |
OpenAPI generation | Const |
Input parser | Const |
Output parser | Const |
React Query integration | Const |
Type inference helpers | Const |
Vanilla client | Const |
Optimistic updates | Const |
Infinite queries | Const |
Query invalidation | Const |
Module
| Name | What it does |
|---|
.query | Module |
.mutation | Module |
.subscription | Module |
.input | Module |
.output | Module |
.use | Module |
.meta | Module |
Pipe
| Name | What it does |
|---|
ctx | Pipe |
next | Pipe |
opts | Pipe |
server | Pipe |
client | Pipe |
runtimeEnv | Pipe |
transformer | Pipe |
Command
| Name | What it does |
|---|
create-t3-app | Command |
npm create t3-app | Command |
Search across every package and filter by type in your dashboard.
Start learning