~/talk

Deep dive into react profiles and performance optimisation

Talkat React Nexus 2023 · 2023-07-07..07-08· [react, web-performance]
slides:none on file

Uses React DevTools profiler (Chrome extension) with highlight updates and record why enabled to show exact commits and flame/timeline data; profiling shows an extra commit for typing then posting (two commits) and wide green highlights when unnecessary children re-render. Demonstrates that missing key prop makes sort trigger full re-renders, and that wrapping components with React.memo + useCallback cuts redundant commits and stops child re-renders, verified live in the demo.

AI-written summary · about

  1. 0:00Introduction
  2. 0:52What to expect
  3. 1:46The problem
  4. 3:16Why is it slow
  5. 3:40React Profiler
  6. 4:14Profiler metrics
  7. 4:47React developer tool
  8. 5:13Profiler
  9. 6:16Settings
  10. 7:27Clear Console
  11. 8:49Like and timestamp
  12. 9:19Quick implementation
  13. 10:06Start profiling
  14. 10:37Tweet example
  15. 11:20Profiling
  16. 12:33Profile
  17. 13:53Add Tweet
  18. 14:10Profile Tweet
  19. 15:00Summary
  20. 15:23Outro
~/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.