CONTACT US

React Compiler Release Candidate Now Available

 

The React team announced the stable and production-ready Release Candidate (RC) of the React Compiler on April 21st, 2025. React Compiler is a build-time optimization tool that improves React applications through automatic memoization.

The compiler is compatible with React 17 and later versions. For projects not yet on React 19, adding react-compiler-runtime as a dependency and specifying a minimum target in the compiler configuration should enable its use.​

Additional functionalities added to the RC include:

  • Enhanced Memoization: The compiler supports optional chaining and array indices as dependencies. This change should reduce re-renders and improve UI responsiveness.​
  • ESLint Integration: eslint-plugin-react-compiler has been merged into eslint-plugin-react-hooks. Developers should upgrade to [email protected] and enable the 'react-hooks/react-compiler': 'error' rule in their ESLint configuration.​
  • Experimental SWC Support: React Compiler can be integrated into Next.js applications using SWC instead of Babel. Available in Next.js version 15.3.1 and above.​

If you have any feedback after testing the RC, the React team created the React repository or the React Compiler Working Group for the community to share their suggestions. The stable release will follow the RC period. Currently, there are ongoing improvements in memoization and support for various JavaScript patterns.​

For detailed instructions and further information, read the official React Compiler RC announcement.

Stay ahead of tech trends and subscribe to Frictionless, the newsletter by our CEO, Chris Lojniewski.

Article link copied

Close button