1 min read 47 words Updated Sep 24, 2026 Created Sep 24, 2026

The available modes are: ‘infer’ | ‘annotation’ | ‘all’

There is an eslint plugin to highlight violation of rules of react: npm install eslint-plugin-react-compiler

Then, add it to your eslint config:

module.exports = {  

plugins: [  

'eslint-plugin-react-compiler',  

],  

rules: {  

'react-compiler/react-compiler': "error",  

},  

}

sdAfs3wer34111AAA