~/talk

Powerful REST in a GraphQL world

Talkat ReactConf AU 2020 · 2020-02-27..02-28· [typescript, frontend-architecture]
slides:none on file

A startup workflow replaces fragile REST guesses with TypeScript, Monaco/VSCode-in-the-browser docs and a CLI that codegens real React hooks from OpenAPI. The team builds "RESTful React" (useGet/usePost hooks), demos fetching from Dog CEO and Giphy, and achieves end-to-end type safety so wrong JSON shapes fail at compile time. Tooling includes TypeScript generics, a CLI importer, and Monaco editor; outcome: generated APIs work in practice and prevent whole classes of runtime errors. OpenAPI → generated React hooks

AI-written summary · about

  1. 0:00Intro
  2. 5:28Styleguideist
  3. 10:36Typescript
  4. 12:16The problem with REST
  5. 14:33GraphQL
  6. 16:43Why GraphQL
  7. 19:54Demo
  8. 23:42Code Gen
~/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.