Transpilation feels like the number one bottleneck for my productivity in large React projects. In some projects, I have to wait for half a minute to see the code changes in my browser. Luckily, some clever developers are working on SWC, the "Speedy Web Compiler". It basically replaces Babel, and it's crazy fast: 16 to 40 times faster, according to their own benchmarks.
SWC can be used with webpack and it supports pretty much all of the most important features (JSX, Typescript, source maps, legacy ES).
Maybe the project is not mature enough to fully replace Babel, but I think it makes sense to put it on the radar.
Transpilation feels like the number one bottleneck for my productivity in large React projects. In some projects, I have to wait for half a minute to see the code changes in my browser. Luckily, some clever developers are working on SWC, the "Speedy Web Compiler". It basically replaces Babel, and it's crazy fast: 16 to 40 times faster, according to their own benchmarks.
SWC can be used with webpack and it supports pretty much all of the most important features (JSX, Typescript, source maps, legacy ES).
Maybe the project is not mature enough to fully replace Babel, but I think it makes sense to put it on the radar.