React 19+ · Module
React Compiler
React Compiler is a build-time tool that automatically adds memoization to React components and hooks. It can reduce unnecessary re-renders and repeated expensive calculations, so new code often needs less manual useMemo, useCallback, or React.memo.
Last updated
Syntax
npm install -D babel-plugin-react-compiler@latestIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
useMemouseCallbackReact.memoRules of Reactuse no memoeslint-plugin-react-hooksReact DevTools