~/talk

GraphQL, tRPC, and your tech tool box

Talkat GraphQL Conf. 2022 · on Thursday, 2022-09-29· [graphql, developer-experience]
slides:none on file

Claims that tRPC creates fully typesafe APIs without separate schemas or code generation by sharing TypeScript types between client and server, demonstrated with live code: greeting, getUser and updateUser procedures, using Zod validation for inputs and standard JS/TS functions for DB calls. tRPC runs over HTTP/websockets, supports incremental adoption, and currently shows 60k downloads/week while GraphQL ecosystem is much larger; tRPC v10 is in alpha and previous TypeScript limits around ~100 procedures are noted, and a client-side cache hiccup appears in the demo.

AI-written summary · about

  1. 0:00Start
  2. 2:14Agenda
  3. 3:10Introduction to Trpc
  4. 4:49Goals
  5. 5:30Rolling Your Own Rest Api
  6. 6:32What Is Trpc
  7. 6:55What Does It Mean To Build and Consume Typesafe Apis
  8. 9:24Demonstration of Trpc
  9. 18:27Make a Mutation Procedure
  10. 24:31Validation
  11. 27:27Comparison to Graphql
  12. 30:44Graphql and Trpc Work over Http and Websockets
  13. 32:55Conclude the Talk
~/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.