The Rust React Compiler is now native in Vite
The transition to the Rust version of the React Compiler for the 1,036-file React Router codebase resulted in a significant speed increase, improving build times from 14.3 seconds to 0.81 seconds. The new compiler addresses previous limitations and ensures consistency across the toolchain, making it easier to manage builds with enhanced performance and capabilities.
Summary
A switch to the Rust version of the React Compiler has drastically reduced build times for the React Router, slashing them from over 14 seconds to just under 1 second. This upgrade not only boosts speed but also resolves earlier limitations, streamlining build management and enhancing overall performance.
Comments (44 of ) ⌛