~/talk

React Responsively, Render Responsibly

Talkat ReactNext 2018 · on Sunday, 2018-11-04· [web-performance]
slides:none on file

Starts with a sluggish photo grid taking about 600ms to 10ms after fixes and shows exact steps: use Chrome DevTools and React Profiler to spot full-grid re-renders, separate selection state from the photos array to avoid cloning large immutable objects, avoid creating new prop objects by spreading primitives so shallow compares succeed, create per-instance memoized selectors with reselect and react-window and apply windowing to cut DOM work and CPU time.

AI-written summary · about

  1. 0:00Introduction
  2. 5:15State
  3. 6:32Selector
  4. 8:10Shallow Compare
  5. 10:00Memoization
  6. 15:28Result
~/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.