~/talk

State Management with React Hooks

Talkat React Live 2019 · on Friday, 2019-09-13· [react, developer-experience]
slides:none on file

Claims that Hooks make state simpler than classes and demos that claim to prove it: a working todo app built with Kendo React components, local useState for inputs, useReducer with Context for shared state, and a custom useMediaPredicate hook for responsive behavior. The demo implements add/toggle/delete/clear, updates document title, and adds accessible screen-reader announcements with eight or nine lines of code; code and slides are linked in the uploader notes.

AI-written summary · about

  1. 0:00Introduction
  2. 6:56Hooks
  3. 9:05Code Examples
  4. 13:24reducers
  5. 18:41mainjs
  6. 19:32todo page
  7. 20:14create initial state
  8. 20:49add filter
  9. 21:13set text input
  10. 22:05dispatch
  11. 22:35append
  12. 26:34screen reader announcement
  13. 27:31closing remarks
~/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.