Open History to see the last commit
1{
2 "name": "tRPC",
3 "description": "Integrate tRPC into your application.",
4 "aiDescription": "tRPC enables end-to-end type safety between your React frontend and Node.js backend without code generation or schemas. You write TypeScript on the server, and the client automatically knows the types—change a server function's return type and TypeScript immediately catches mismatches in your frontend. Key features: automatic type inference, middleware for auth/validation, subscriptions for real-time, and seamless TanStack Query integration. tRPC uses a custom protocol optimized for internal APIs, not REST conventions. Choose tRPC when your frontend and backend are in the same repo (monorepo), you want maximum type safety with minimum setup, and you don't need to expose a REST API to external consumers. It's perfect for full-stack TypeScript apps where the API is only consumed by your own frontend. For public APIs or OpenAPI needs, consider oRPC instead.",
5 "phase": "add-on",
6 "modes": ["file-router"],
7 "link": "https://trpc.io/",
8 "dependsOn": ["tanstack-query", "start"],
9 "type": "add-on",
10 "priority": 27,
11 "routes": [
12 {
13 "icon": "Network",
14 "url": "/demo/trpc-todo",
15 "name": "tRPC Todo",
16 "path": "src/routes/demo.trpc-todo.tsx",
17 "jsName": "TRPCTodos"
18 }
19 ]
20}