react/compiler/packages/babel-plugin-react-compiler
Jordan Brown 1b1283ade7
[compiler] Support default imports for autodep config (#31657)
## Summary

Allows us to add deps for things like `import useWrapperEffect from
'useWrapperEffect'`

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31657).
* __->__ #31657
* #31652
2024-12-03 07:42:53 -05:00
..
scripts [rcr] Update default runtimeModule to react-compiler-runtime (#31144) 2024-10-07 17:59:33 -04:00
src [compiler] Support default imports for autodep config (#31657) 2024-12-03 07:42:53 -05:00
jest.config.js
package.json [compiler] Update react deps (#31585) 2024-11-19 10:52:38 -05:00
README.md
rollup.config.js [compiler] Disable emit of .tsbuildinfo (#31459) 2024-11-14 15:43:36 -05:00
tsconfig.json

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