~/talk

Performance Tuning in React

TalkinJapaneseat Tokyo Node Festival 2018 · 2018-11-23..11-24· [react]
links:none on file
slides:none on file

A React-based shift-scheduling page had scripting using about 75% of CPU; Chrome DevTools (Performance, Profiles, Network throttling) plus the User Timing API and a custom action-timing middleware were used to map user actions to component renders. Performance fixes included windowing/virtualized lists to reduce DOM size, splitting components and memoizing props to prevent unnecessary reconciliation, which cut scripting time ~3.7× and lowered perceived load to ~3.6s on slower client hardware; measurements should be done on throttled or customer-like machines.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06SPA user expectations
  3. 2:16AirShift service
  4. 4:50AirShift performance issues
  5. 5:32Script execution bottlenecks
  6. 7:47Measure instead of guessing
  7. 9:17Chrome DevTools profiling
  8. 11:08User Timing API
  9. 12:57Action timing extension
  10. 14:31Optimization approaches
  11. 16:21Reconciliation explained
  12. 17:48shouldComponentUpdate
  13. 18:59Excessive AirShift re-renders
  14. 19:43Reduce re-renders with smaller components
  15. 20:47Virtual scrolling for large tables
  16. 21:51Large component problems
  17. 22:34Split components to reduce re-renders
  18. 23:39Optimization results
  19. 24:24Key takeaways
  20. 25:14Testing in realistic environments
  21. 26:15Building performance culture
  22. 27:23Future challenges
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.