~/talk

Tips and tricks for optimizing your React application

Talkat React Finland 2020 · 2020-05-28..12-02· [react, web-performance]
slides:none on file

Real cases and numbers: replacing a custom clone-element pattern drops tab switch time from ~760ms to ~80ms and from ~5s to ~1s on old devices, proving a single change saves 9–10x; native→web event latency measures ~20–70ms so the bridge is not the root cause; use Chrome Performance and React Profiler plus console timing with performance.now for precise timestamps; prefer refs and conditional updates or returning null from setters to avoid costly re-renders within the 60 ms frame budget and avoid react cloneElement slowdown.

AI-written summary · about

  1. 0:00Intro
  2. 1:03Example
  3. 2:14Measure
  4. 3:11Profiling
  5. 4:14Swipe component
  6. 6:56Turn off feature
  7. 7:31Results
  8. 8:27React Clone Element
  9. 13:14User Interface
  10. 14:15Event Bridge
  11. 19:27Root Cause
  12. 21:12Performance Now
  13. 22:44Rerenders
  14. 29:46Speed example
  15. 31:47Navigation example
  16. 38:30Summary
  17. 40:24Poll results
  18. 42:19Audience questions
  19. 45:57Console time
~/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.