~/talk

Help! My React app is slowwwww!

Talkat React Alicante 2018 · on Friday, 2018-09-14· [react, web-performance]

Checklist of concrete fixes and tools: avoid touching the DOM by using use unique IDs as keys instead of indices; stop recreating components by move HOCs out of render; prevent pointless reconciliation with PureComponent and stable props (consts, bind once or class‑field arrow methods); combine multiple Redux dispatches into one; for large immutable data use Immutable.js or seamless‑immutable; memoize expensive selectors with createSelector from reselect; use React Profiler (16.5) and React Virtualized and throttle Chrome to reproduce slow devices.

AI-written summary · about

  1. 0:00Intro
  2. 1:11Sponsors
  3. 1:47Context
  4. 3:38Reconciliation
  5. 5:01Exercise
  6. 8:50React Performance
  7. 9:18Avoid unnecessary DOM updates
  8. 16:17Avoid unnecessary reconciliation
  9. 17:20Should component update
  10. 20:19Shallow comparison
  11. 26:31Component boundaries
  12. 28:53Redux performance
  13. 33:12Avoiding calculations
  14. 38:17Redux derived state
  15. 41:57Recap
  16. 43:44Debugging
  17. 45:23Conclusion
~/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.