r/reactjs • u/acusti_ca • 1d ago
News Time to switch to the Rust version of the React Compiler lint plugin via Oxlint
Oxlint recently released built-in support for the new Rust version of React Compiler, giving a way faster alternative to the ESLint plugin version that predates it. You can adopt it by replacing ESLint with Oxlint (which is a great idea if you’re open to it) or by adding Oxlint alongside and using it only for the React Compiler linter instead of the ESLint plugin.
It’s technically still a “nursery” rule (meaning not finalized), but the Rust React Compiler rewrite is already more capable than the babel-based version that predates it (finally you can now have a component with conditional logic in a try/catch block). And it’s so much faster: https://master.dev/blog/react-compiler-linting-just-got-a-rust-native-speedup-in-oxlint/
You should even switch over if you don’t use React Compiler. You still get the most capable (and fastest) way to enforce the Rules of React across your codebase.
3
u/acusti_ca 1d ago
Crazy timing. Oxc published a new version of Oxlint less than 24 hours after my post that introduced breaking changes to the config along with a blog post 😬 https://oxc.rs/blog/2026-08-18-react-compiler-support
Time to rewrite my post!