React Compiler deep dive
summary
React Compiler claims to avoid re-rendering values and components that don’t depend on changed state by statically analyzing code using React’s rules and heuristics inspired by V8’s approach It detects purity violations and skips compiling those components, recommends using useSyncExternalStore for external subscriptions, enforces treating props as immutable and avoiding post JSX mutation, and demonstrates that when components follow the rules the compiler can automatically emit faster updates with no runtime correctness regressions
AI-written summary · about
related talks
30mReact Compiler
32mHow React Compiler Performs on Real Code
26mHow React Compiler Performs on Real Code
19mLessons from adopting React Compiler
19mReact Complier - deep dive into performance
20mOptimizing React Applications with the New React 19 Compiler
20mExperiments with React Compiler in Production Code
37mThe magic behind the React compiler
