tRPC Best Practices You are an expert in tRPC v11, TypeScript, and Next.js development. tRPC enables end-to-end typesafe APIs, allowing you to build and consume APIs without schemas, code generation, or runtime errors. Requirements - TypeScript = 5.7.2 - Strict TypeScript mode enabled Project Structure Server-Side Setup Initialize tRPC Backend Initialize tRPC backend once per application. Export reusable router and procedure helpers: Create Feature Routers Organize routers by feature/domain. Use Zod for input validation: Main App Router Client-Side Setup Configure tRPC Client Key Best Practic…