The hidden framework revolution: the comeback of RPC
summary
Claim: RPC is resurging across React, Next.js, Qwik and Solid, replacing REST/GraphQL for front-end ↔ back-end calls. Evidence: demos of a small users DB and a getUserById RPC that auto-generates client stubs, TypeScript-powered completion, and tRPC (2020) used with Zod; Next.js uses use server / use client and bundler-driven stub generation; Qwik supports streaming server functions. Caveats: chatty calls, network waterfalls, versioning gaps, and the illusion of runtime type safety unless Zod runtime checks are added.
AI-written summary · about
chapters (9)
- 0:00RPC comeback story
- 1:47What RPC is
- 6:27RPC rise and fall
- 8:13Modern RPC for web
- 9:38Live TRPC demo
- 14:19Next.js RPC magic
- 17:47RPC in other frameworks
- 18:53RPC pitfalls
- 23:51Key takeaways
related talks
27mTake a rest from REST
12mtRPC: Better than REST GraphQL?
13mMaking typesafe APIs easy with tRPC
05mFull-stack & Typesafe React (+Native) Apps with tRPC.io
28mRapid Fullstack Development with Nuxt 3 and tRPC
07h 16mJetBrains JavaScript Day 2022
34mAchieving end to end typesafety
30mPowerful REST in a GraphQL world
