plugin-react-swc, React Compiler Vite 8 Support
#1240
Answered
by
ArnaudBarre
tyteen4a03
asked this question in
Q&A
|
I have a project using My understanding is that Rolldown doesn't have React Compiler support and will thus pull in Babel, which I would like to avoid. |
Answered by
ArnaudBarre
May 31, 2026
Replies: 1 comment 4 replies
|
@tyteen4a03 |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@KTrain5169 the setup for React Compiler with Vite 8 + react-plugin 6 is here.
oxc-plugin-react-compileris not official at all, it's a one person project (which is not part of Vite or OXC team) and done with AI. I just discovered it. There is a PR for an official Rust port from the React team.@tyteen4a03 to answer your question, there is no recommended way currently to use the React compiler without Babel.
In any case, what we recommand is move to the react-plugin anyway. When a rust port will be available, it will be better supported with oxc where we (the Vite team) have the controlled on the whole toolchain. If you have anything that you need from SWC and that you don't have on OXC, …