Future Plans for React Compiler and vite-rolldown (Rust-based Vite Build Tool) #69
elnatanitzan
started this conversation in
Feature Requests
Replies: 1 comment
-
Please direct any discussion to this issue: oxc-project/oxc#10048 Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a Frontend tech lead in my company, and already using the React Compiler Babel plugin (React 18.3.1) alongside Vite in several projects and I'm very excited about the performance improvements it brings.
With the recent announcement and development of vite-rolldown, the new Rust-based build tool for Vite (which will be the official vite in the nex major version), a question has come up in the community.
The official vite-rolldown documentation explicitly states that continuing to use Babel plugins, particularly the React Compiler plugin with @vitejs/plugin-react v5, will hinder the full performance benefits of switching to rolldown. This is because Babel is JavaScript-based, and using it introduces a performance bottleneck in a Rust-based toolchain.
My question to the working group is:
Are there any plans to adapt the React Compiler to work natively with vite-rolldown's Rust-based architecture?
A solution that avoids the Babel dependency would be incredibly valuable for developers who want to fully embrace the performance gains from both the React Compiler and vite-rolldown together.
Any insight into the long-term strategy for this integration would be greatly appreciated.
Thank you for all your hard work!
Beta Was this translation helpful? Give feedback.
All reactions