A new es2017
, latest
preset, and lots of fixes in this release.
Babel Doctor
Babel Doctor is
heavily inspiredripped from the awesome Yeoman Doctor by Sindre Sorhus.
babel-doctor has been removed as of v6.18.0 of
babel-cli
. If anyone needs it we will bring it back as a standalone npm module calledbabel-doctor
.
Setting up Babel 6
Babel 6 is fresh off the press and we’re still getting a lot sorted out. In the past two days we've seen more activity on GitHub and Slack than ever before. Everyone who has been helping out has been doing a great job.
However, the documentation is still lacking at this point, I’m currently going through and creating an entirely new “Getting Started” section of the site.
6.0.0 Released
NOTE: Not all integrations have been updated yet. This is a very disruptive major so please bear with us as we smooth out the edges.
It’s hard to believe it’s been a year since the Babel project started, but there was a birthday cake, so it must be real!
React on ES6+
While redesigning Instagram Web from the inside out this year, we enjoyed using a number of ES6+ features to write our React components. Allow me to highlight some of the ways that these new language features can change the way you write a React app, making it easier and more fun than ever.
Function Bind Syntax
Babel 5.4 was just released and with it comes support for a new experimental ES7 syntax proposed by Kevin Smith (@zenparsing) and implemented in Babel by Ingvar Stepanyan (@RReverser).
5.0.0 Released
In the past few months Babel has been welcomed into several major communities such as Node, React, Ember, Backbone, Angular, Rails, and many others. We launched the Users page only a few weeks ago and it's really cool to see everyone that is using it. Companies like CloudFlare, Netflix, Mozilla, and Yahoo!. Projects like Ghost, Atom, Mapbox, and so many more.
We've seen tons of blog posts, talks, events, courses all about ES6+ using Babel, and official Babel tools have been downloaded nearly 2 million times.
Today we are making by far the largest release of Babel ever.
Babel <3 React
One of the things that surprises people quite often is that Babel supports JSX out of the box.
Not Born to Die
I like to start off our blog posts with the latest big thing 6to5 has achieved. We haven’t reached it quite yet, but in a few days 6to5 and 6to5-core will have been downloaded half a million times, and in a month or so it will be over a million times.
There has been a bit of confusion in the past as to 6to5’s role in the JavaScript community, which can largely be attributed to its name.
6to5 was not born to die.
2to3
These past few weeks we’ve seen lots of activity on 6to5; thousands are downloading it every day from all corners of the world. In the past month, over 200 issues have been closed. Since the 2.0 release, there have been 867 commits and 60 minor and patch releases. It’s now among the top 1% of most downloaded packages on npm, with nearly 100k downloads in the last month alone.
Today we are releasing 3.0.