~/talk

React Complier - deep dive into performance

Talkat Frontend Nation 2025 · 2025-06-03..06-05· [react]
slides:none on file

React Compiler rewrites components to do internal memoization so you can throw away useMemo/useCallback for most cases, and it moves event handlers outside renders to create static references. Measured on a 4.5k‑LOC YouTube clone TBT rises (≈300ms vs 230ms), on a 3k‑LOC Trello‑like app INP and interactions improve roughly up to 2x faster interactions, larger codebases show INP/TBT reductions, Next.js, Webpack and Vite all work, bundle size varies, build time is ±10% build-time change, and it’s not compatible with class components or MobX; install separately for React 19 (works with 18).

AI-written summary · about

  1. 0:00React Compiler intro
  2. 1:30Why React Compiler needed
  3. 3:18How code transforms
  4. 5:27Removes manual memo
  5. 6:32Measuring performance
  6. 7:56YouTube clone case study
  7. 9:41To-do app case study
  8. 10:45Large-scale project case
  9. 12:13Next.js adopts React Compiler
  10. 13:37Key takeaways & limits
  11. 15:22Q&A
~/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.