Hacker News·3 min read·medium

The Rust React Compiler is now native in Vite

A
acusti
The Rust React Compiler is now native in Vite
AI Summary

The Vite React plugin has added native support for the Rust-based React Compiler, significantly reducing build times for large codebases. Developers can now opt-in to this performance boost, which offers a substantial speed advantage over traditional Babel-based compilation.

Why it matters

Faster build times directly reduce CI costs and improve developer productivity, which is increasingly critical as software projects grow in complexity.

Dive DeeperCreate a free account to unlock

Following the oxc team’s release of official support for the Rust React Compiler on August 4, 2026, we switched our 1,036-file React Router codebase ( Outlyne , a website builder) over to it and saw a ~17.6× speedup on the compiler portion of our build.

The v6.1.0 release of @vitejs/plugin-react brought “experimental native React Compiler support”, which you can opt in to by passing { compiler: true } to the plugin in your Vite config. And for those unable to use the Vite React plugin (e.g. if, like us, you’re using React Router in framework mode), @acusti/vite-plugin-react-compiler is a minimal Vite plugin to React-compile your codebase regardless of the rest of your build pipeline.

Faster Builds = Happier Devs + Cheaper CI The headline feature of this change is the speedup. Per Boshen , the oxc project lead:

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologybusiness

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in