react/compiler/packages/babel-plugin-react-compiler
lauren 603e6108f3
[compiler] Update react deps to experimental instead of beta (#31385)
Some tests rely on experimental APIs so let's just use
react@experimental instead of beta
2024-10-29 21:51:41 -04:00
..
scripts [rcr] Update default runtimeModule to react-compiler-runtime (#31144) 2024-10-07 17:59:33 -04:00
src [compiler] Update react deps to experimental instead of beta (#31385) 2024-10-29 21:51:41 -04:00
jest.config.js Compiler: unfork prettier config (#30205) 2024-07-18 17:00:24 -04:00
package.json [compiler] Update react deps to experimental instead of beta (#31385) 2024-10-29 21:51:41 -04:00
README.md [compiler] Add readme for babel plugin 2024-05-15 17:29:49 -07:00
rollup.config.js Compiler: unfork prettier config (#30205) 2024-07-18 17:00:24 -04:00
tsconfig.json Don't emit types for babel-plugin-react-compiler 2024-05-14 11:02:30 -04:00

babel-plugin-react-compiler

React Compiler is a compiler that optimizes React applications, ensuring that only the minimal parts of components and hooks will re-render when state changes. The compiler also validates that components and hooks follow the Rules of React.

This package contains the React Compiler Babel plugin use in projects that make use of Babel. You can find instructions for using this plugin here: https://react.dev/learn/react-compiler