~/talk

Tyler McGinnis - Why React Hooks?

Talkat React Loop 2019 · on Friday, 2019-06-21· [react]
slides:none on file

Explains why Hooks replace classes by naming the actual primitives: useState returns [value, setValue] to add local state in functions, useEffect centralizes side effects so fetching logic no longer lives in multiple lifecycle methods, and custom hooks like useRepos returning [loading, repos] let non-visual logic be reused across components. Calls out concrete wins: no more super/this binding, less duplicated sync code, functions instead of class boilerplate, and simple composition that actually works for data fetching and state handling.

AI-written summary · about

  1. 0:00Start
  2. 2:17June 14, 1998
  3. 2:44May 29, 2013
  4. 4:39constructor
  5. 5:13Autobinding
  6. 5:54Class Fields
  7. 6:53Duplicate Logic
  8. 7:37Sharing non-visual logic
  9. 8:41Feb 11, 2015
  10. 11:20Current State
  11. 16:17Custom Hooks
~/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.