mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Our passes aren't sequenced such that we could observe this bug, but this retains the proper terminal kind for pruned-scopes in mapTerminalSuccessors. ghstack-source-id: 1a03b40e45649bbef7d6db968fb2dbd6261a246a Pull Request resolved: https://github.com/facebook/react/pull/29884
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