Expert guidance for tRPC (TypeScript Remote Procedure Call) including router setup, procedures, middleware, context, client configuration, and Next.js integration. Use this when building type-safe APIs, integrating tRPC with Next.js, or implementing client-server communication with full TypeScript inference.
tRPC Best Practices 1.0.0 - Initial release providing expert guidance on tRPC usage and Next.js integration. - Includes quick start setup, code examples for router, middleware, and context creation. - Covers input validation with Zod, client setup, and use in React components. - Features sections on router design, merging, and reuse of validation schemas. - Intended for building fully type-safe APIs and seamless client-server communication using TypeScript. All credit to https://skills.sh/oriolrius/pki-manager-web/trpc (I wanted it on clawhub)