Why does the Nextjs version of React compiler require a babel plugin when the vite version doesn't need it? Next.js is on SWC, not sure why they need a babel plugin.
The Rust React Compiler is now native in Vite
21–30 of 59 posts
Re: The Rust React Compiler is now native in Vite
#22Why does the Nextjs version of React compiler require a babel plugin when the vite version doesn't need it? Next.js is on SWC, not sure why they need a babel plugin.
Re: The Rust React Compiler is now native in Vite
#23OXC Transformers are amazingly faster than Babel. I'm building a framework ( https://github.com/vmsp/flypath ) for web, iOS and Android native development that's fully backed by OXC and Vite. Instead of transforming styles using Babel like StyleX, I just use OXC. Instead of Metro (React Native's bundler), which also uses Babel, it's just Vite. It's still very early but it's plenty, plenty fast.
Re: The Rust React Compiler is now native in Vite
#24Re: The Rust React Compiler is now native in Vite
#25What's a react compiler? Not JS or TS?
Re: The Rust React Compiler is now native in Vite
#26Why does the Nextjs version of React compiler require a babel plugin when the vite version doesn't need it? Next.js is on SWC, not sure why they need a babel plugin.
Re: The Rust React Compiler is now native in Vite
#27No more babel in my compilation pipeline, yay!
It's a bit mesmerizing to think that Vite at the time was still "that newish tool the Vue folk use", and now it's pretty much the standard bundler for web frontend. Also the easiest one to configure and use (in my experience).
Similarly, I'm glad I don't have to deal with karma, jest, etc. anymore.
Re: The Rust React Compiler is now native in Vite
#28[flagged]
As funny as this is I sometimes wonder about that crowd. Assuming the ecosystem at large flips and most software is now written in Rust what will the “rewrite it in Rust” crowd move to? Will they be satisfied for the most part or does it morph into “now rewrite in $latest_rust”?