~/talk

Using Hooks and Codegen

Talkat React Conf 2019 · 2019-10-24..10-25· [typescript, react]
slides:none on file

A concrete pipeline emerges: embed the Monaco editor in docs, feed it TypeScript declarations, and get in-browser autocompletion; use TypeScript generics and hooks to enforce response shapes at compile time; generate api.ts from OpenAPI with a CLI (yarn restful-react import) to produce ready-made hooks like useRandomGif; the result is end-to-end type safety across REST, near-zero UI runtime exceptions except network errors, and a reported feature turnaround that drops from days to minutes.

AI-written summary · about

  1. 0:00Start
  2. 4:30Design System
  3. 4:54React Style Goddess
  4. 13:11Meaningful Discussions
  5. 16:30Restful React
  6. 20:37Open Api
  7. 21:19Open Api Parser
  8. 24:51Optional Chaining
~/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.