~/talk

90% Cleaner React

Talkat React Conf 2018 · on Thursday, 2018-10-25· [react, testing]
slides:none on file

Claims code becomes 90% cleaner by replacing render props with hooks and demonstrates concrete tools: useState/useEffect/useReducer plus custom hooks like useMedia and useProgress. Implements an accessible carousel with autoplay, pause, progress bar animation, keyboard focus management and state reducer, shows race conditions and timeout bugs, then fixes them by scoping effects and cleanup. The demo runs successfully and the refactor reduces nested boilerplate while preserving functionality.

AI-written summary · about

  1. 0:00Cleaner React with hooks
  2. 1:03Render props problems
  3. 3:41Creating useMedia hook
  4. 9:24Demo: useMedia hook
  5. 10:27Accessible carousel
  6. 14:02Slide transitions with useEffect
  7. 16:13Play/pause functionality
  8. 18:10Fixing timing bugs
  9. 20:01Progress bar with useProgress
  10. 21:53Workshop feedback
  11. 23:43Stop auto-play on interaction
  12. 24:47State with useReducer
  13. 28:27Final carousel
  14. 28:55Context vs Redux with hooks
  15. 29:58Managing focus for accessibility
  16. 32:30Focus control with refs
  17. 33:15Summary
~/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.