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.
156 points by acusti 47 days ago blog.master.dev 44 comments

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 ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open