~/talk

TypeScript and GraphQ

Talkat JSWorld Conference 2021 · 2021-02-22..02-27· [typescript, graphql]
slides:none on file

A 50 minute workshop that shows a working Express GraphQL server plus a React front end wired with TypeScript, starting with plain graphql-request then moving to Apollo Client and the graphql code generator to auto‑produce TypeScript types from the schema. Demonstrations include renaming and deprecating fields, generating hooks like useQuery and fixing type drift between server and app, with the demo server and app running successfully after a few small fixes.

AI-written summary · about

  1. 0:00Start
  2. 2:15TypeScript is a typed superset of JavaScript That compiles to plain JavaScript And uses the latest ECMAScript features
  3. 4:05GraphQL is a query language for APIS That offers a single endpoint for multiple resources And is based on a type system
  4. 7:38The GraphQL schema is used to generate TypeScript types
~/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.