Outlyne cuts React Compiler build time 17.6× by switching to Rust-native Vite support
The Rust React Compiler is now native in Vite
Following the oxc team's official support for the Rust React Compiler, the Outlyne team migrated their 1,036-file React Router codebase to it, achieving a ~17.6× speedup on the compiler portion of their build (14.3s to 0.81s). The v6.1.0 release of @vitejs/plugin-react now offers experimental native support via `{ compiler: true }`, and for non-Vite-React setups, the minimal @acusti/vite-plugin-react-compiler plugin fills the gap. Beyond speed, the Rust compiler fixes several limitations of the Babel-based version, including conditional logic in try/catch blocks and destructured prop reassignment, expanding compiler compatibility. The author also highlights the benefit of toolchain consistency: linter and build now use the same compiler version, eliminating coverage gaps.
It is more than 10 times faster than Babel in our preliminary benchmark.