You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The React Compiler optimizes code that follows the rules of React. In order to make it easier to write React compliant code, the React team released an ESLint plugin that reports broken React rules: eslint-plugin-react-compiler.
The compiler requires React 19, but the ESLint plugin can be adopted earlier to be prepared.
Motivation
Follow the rules of React in our code so it can be optimized by the React compiler in the future.
Follow React best practices in all of our demos that our consumers use.
Note: at the time of writing the ESLint is experimental but it has proven to be useful for the Toolpad team.
Context
The React Compiler optimizes code that follows the rules of React. In order to make it easier to write React compliant code, the React team released an ESLint plugin that reports broken React rules: eslint-plugin-react-compiler.
The compiler requires React 19, but the ESLint plugin can be adopted earlier to be prepared.
Motivation
Note: at the time of writing the ESLint is experimental but it has proven to be useful for the Toolpad team.
Tasks
Search keywords: react compiler, eslint
The text was updated successfully, but these errors were encountered: