~/talk

React UI: get hooked!

Talkat The Conf 2019 · 2019-10-23..10-24· [react, frontend-architecture]
links:none on file
slides:none on file

Shows concrete patterns and code: replaces HOCs/render props and huge classes with useState‑style custom hooks, ships input hooks with afterChange debounce to avoid spamming Redux actions, a shouldChange validator for numeric fields, and a formatter that exposes formatted and raw values. Tests use react-hooks-testing-library or an Enzyme wrapper. Describes a production useScaleImage hook used by 5–6 teams at GoDaddy to handle third‑party image APIs and improve load/interaction performance.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:54What are React hooks
  3. 10:31Problems with class components
  4. 13:22Testing custom hooks
  5. 17:50Why adopt React hooks
  6. 22:42Custom hooks for UI logic
  7. 30:48Production experience with hooks
  8. 36:17How hooks change UI development
  9. 37:45Q&A and closing
~/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.