Tag: trpc
3 articles
· trpc / rest
tRPC vs REST: When to Drop OpenAPI in TypeScript Apps
Use tRPC for full-stack TypeScript monorepos where type drift bites. Use REST + OpenAPI for public APIs and non-TypeScript consumers. In 2026 you need both.
· trpc / nextjs
How to set up tRPC with Next.js App Router (2026)
tRPC v11 works with Next.js 15 App Router. Covers fetchRequestHandler, SSR prefetch, the QueryClient pattern, and five gotchas that catch first-timers.
· trpc / graphql
tRPC vs GraphQL in 2026 — when one beats the other
tRPC wins for TypeScript monorepos with no external API consumers. GraphQL wins the moment a non-TypeScript client exists. Here is when each choice pays off.