# tRPC

12 Hacker News commenters recommended tRPC and 2 criticized it, November 2025 to November 2026. It was recommended in 7 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** Recommended for end-to-end type safety by sharing TypeScript types between frontend and backend. Main caveat: no spec or schema, so it relies on the type system and ties you to its RPC system.

## Why people recommend it

- End-to-end type safety (4 comments): "use something like TRPC to get type inference from your schemas in your route handlers and your front end" ([source](https://news.ycombinator.com/item?id=46143597)) "funnel all communication with something structured and type safe like tRPC" ([source](https://news.ycombinator.com/item?id=46324890)) "with something like tRPC your data being fully end-to-end typesafe too" ([source](https://news.ycombinator.com/item?id=47606612))
- Shared frontend and backend typings (4 comments): "there are some amazing new frameworks that reuse typescript types on the server and client (trpc, tanstack)" ([source](https://news.ycombinator.com/item?id=46435203)) "use something like TRPC to get type inference from your schemas in your route handlers and your front end" ([source](https://news.ycombinator.com/item?id=46143597)) "Shared typings between the frontend and backend via tools like tRPC/ oRPC" ([source](https://news.ycombinator.com/item?id=46783382))
- Simpler than GraphQL (2 comments): "tRPC is a nicer version of client server contracting than graphql in my opinion" ([source](https://news.ycombinator.com/item?id=46266452)) "I've switched to primarily using tRPC vs. GraphQL" ([source](https://news.ycombinator.com/item?id=46266162))

## What people warn about

- No spec; relies on TypeScript types (2 comments): "tRPC sort of does this (there's no spec, but you don't need a spec because the interface is managed by tRPC on both sides). But it loses the real main defining quality of gql" ([source](https://news.ycombinator.com/item?id=46268726)) "Things like tRPC or magic functions are just using Typescript type system and comment to replace the schema" ([source](https://news.ycombinator.com/item?id=49752524))

## Alternatives hackers recommend

- [gRPC](https://hackerapproved.com/p/grpc.md): 25 recommend
- [ConnectRPC](https://hackerapproved.com/p/connectrpc.md): 15 recommend
- [Apache Thrift](https://hackerapproved.com/p/apache-thrift.md): 8 recommend
- [Varlink](https://hackerapproved.com/p/varlink.md): 7 recommend

## Cite as

Hacker Approved, "tRPC", https://hackerapproved.com/p/trpc/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
