~/talk

tRPC: Better than REST GraphQL?

Talkat React Alicante 2023 · 2023-09-28..09-30· [typescript, developer-experience]
slides:none on file

Claim: tRPC gives end to end TypeScript types without schemas or code generation and it actually proves it. Demo uses Next.js and React Query integration, shows refactor from postId to id with immediate compiler errors, demonstrates HTTP batch link combining three HTTP calls into one, and shows optimistic updates and backend-to-frontend autocompletion. Intended for single teams and internal BFF-style APIs, works in web and React Native, and repository links and a demo repo are provided.

AI-written summary · about

  1. 0:00Welcome
  2. 0:52What is tRPC
  3. 2:17Key features
  4. 3:29tRPC vs gRPC REST GraphQL
  5. 5:16tRPC in architecture
  6. 6:50Live demo: type-safe refactor
  7. 8:12tRPC with React Query
  8. 9:37HTTP batching & middleware
  9. 10:40Demo: HTTP batching
  10. 11:24Use cases & summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.