Stack Gems
Menu
← Catalog

tRPC

End-to-end typesafe APIs without codegen

Next.js / API · OSS/MIT · 40.7k

Reviewed 2026-08-18 · last push 2026-10-21 · repo checked 2026-10-21

What's Good

The zero-codegen approach means types flow naturally from server to client. React Query integration handles caching, mutations, and optimistic updates. The procedure-based API encourages small, focused endpoints.

The Catch

TypeScript only—this is not for mixed-language teams. The tight coupling means you lose the API as a standalone artifact.

Verdict

TypeScript APIs as they should be—type-safe by default.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/trpc.svg)](https://stackgems.com/gems/trpc)

HTML

<a href="https://stackgems.com/gems/trpc"><img src="https://stackgems.com/badge/trpc.svg" alt="tRPC reviewed on Stack Gems" height="20"></a>