~/talk

The magic behind the React compiler

Talkat reactjsday 2024 · on Friday, 2024-10-25· [react, frontend-architecture]
slides:none on file

Claim: a React compiler rewrites components at build time to insert build-time memoization (a hidden $ cache array per component) so useMemo/useCallback become unnecessary in many cases. Implementation uses a Babel plugin and an ESLint rule, produces minified cached code, dead‑code removal and inlining, and shows memoized nodes in DevTools. It is beta, works with React 17–19 and can opt out third‑party components, but may break some libraries and is not yet production‑proven.

AI-written summary · about

  1. 0:00React performance struggles
  2. 3:44React 19 and compiler reveal
  3. 7:15Compiler transforms React code
  4. 10:08Compiler output deep dive
  5. 17:26Compiler performance gains
  6. 21:47Q&A on React Compiler
~/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.