Take a rest from REST
summary
Argues that modern TypeScript full‑stack apps reclaim RPC benefits while keeping type safety, showing concrete examples: tRPC and Blitz/Next codegen replacing server imports at build time, Prisma enabling end‑to‑end types, and React Server Components letting one call database directly in a component by running data work on the server. Demonstrates client code that compiles to safe HTTP fetchers, explains tradeoffs (tighter coupling vs zero‑boilerplate), and shows tools that actually work in real builds.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:33APIs in full-stack
- 4:42APIs from RPC to REST
- 9:20REST rise and limits
- 11:50GraphQL trade-offs
- 14:00RPC and modern tools
- 16:30Blitz.js and tRPC
- 19:20React Server Components
- 22:11REST clients with type safety
- 24:20Choosing API solution
- 25:26Future trends
related talks
12mtRPC: Better than REST GraphQL?
13mMaking typesafe APIs easy with tRPC
05mFull-stack & Typesafe React (+Native) Apps with tRPC.io
30mThe Hidden Framework Revolution: The Comeback of RPC
26mThe hidden framework revolution: the comeback of RPC
34mAchieving end to end typesafety
30mPowerful REST in a GraphQL world
27mAnd Now You Understand React Server Components
