Skip to content
Discussion options

You must be logged in to vote

@KTrain5169 the setup for React Compiler with Vite 8 + react-plugin 6 is here.

oxc-plugin-react-compiler is 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, …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@KTrain5169
Comment options

@ianujvarshney
Comment options

@ArnaudBarre
Comment options

Answer selected by ArnaudBarre
@ianujvarshney
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants