Skip to content

Commit

Permalink
[compiler] Add readme for babel plugin
Browse files Browse the repository at this point in the history
Adds a simple readme for the babel plugin with links to the docs.

ghstack-source-id: 4dac0b2a4b2e2114e369dd8f63eea55909f668c1
Pull Request resolved: #29084
  • Loading branch information
poteto committed May 16, 2024
1 parent a0eb265 commit 50c999e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compiler/packages/babel-plugin-react-compiler/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 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

0 comments on commit 50c999e

Please sign in to comment.