~/talk

The Psychological effects of UseEffects

Talkat React Live Online Conference 2020 · 2020-09-10..09-30· [react]
slides:none on file

Explains concrete gotchas and fixes for useEffect: empty dependency array means “never-changing” values not magic; returning a cleanup runs when that effect re-runs or unmounts (not on mount); never return null or you hit the error "destroy is not a function"; calling setState inside a cleanup can trigger endless re-renders; use a mutable isMounted ref pattern set after mount to avoid first-run behavior; migrating CodeSandbox hooks to hooks takes months because subtle order and dependency mistakes break behavior.

AI-written summary · about

  1. 0:00HACKTOBERFEST BACKSTORY
  2. 1:31THE PSYCHOLOGICAL EFFECTS OF USEEFFECT
  3. 2:37WHEN THE COMPONENT
  4. 3:56WE HAVE THREE THINGS TO PLAY WITH
~/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.