~/talk

With great power comes great React hooks!

Talkat JS Fest 2019 Spring · on Thursday, 2019-04-04· [react]
slides:none on file

Shows that Hooks (since React 16.8) let functional components hold state and lifecycle logic using useState, useEffect and useReducer, demonstrates custom hooks like useLocalStorage and useDarkMode inside a create‑react‑app, builds a working to‑do with localStorage persistence and window‑resize hiding, claims less boilerplate and colocated logic, warns of rules (top‑level call order and deps arrays), and confirms classes remain supported while the demos run and reduce nesting and wrapper hell.

AI-written summary · about

  1. 0:00Start
  2. 11:03Better reuse and primitive for stateful logic between components
  3. 41:43How will hooks affect the core concepts of React?
  4. 48:53Test the component as usual.
~/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.