3 ms·
The purpose of Babel/transpilers is to eventually allow users to use the native versions of language features. Native support will eventually be faster (not at
by hzoo 10y ago
The purpose of Babel/transpilers is to eventually allow users to use the native versions of language features. Native support will eventually be faster (not at first), will result in less code sent to users (compiled code is larger), and easier to debug (don't need sourcemaps).
https://v8project.blogspot.com/2017/02/high-performance-es2015-and-beyond.html https://v8project.blogspot.com/2017/02/high-performance-es20...
I made https://github.com/babel/babel-preset-env https://github.com/babel/babel-preset-env to make it easier to transition. Hoping that Babel makes it easier to not have to think about whether you are using native or not, so we'll work on that workflow.