-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Description
Universal JavaScript: Adopting ECMAScript 2015 (aka ES6)
SOURCE: http://info.meteor.com/blog/whats-coming-in-meteor-12-and-beyond
ECMAScript 2015, also known as ES6, is going to be huge for the JavaScript community and for JavaScript adoption. The new version of the language is "the best JavaScript we've ever had," with classes, block scoping, and many other additions. We're excited that it will bring many new developers to JavaScript by addressing the objections that developers from other backgrounds sometimes raise.
We think anyone writing an app in JavaScript should be using ES2015. So we are making ES2015 the official JavaScript of the Meteor platform. Our goal is to make Meteor the best way to use ES2015, and to provide a seamless ES2015 experience across the whole platform and across the client and the server. Meteor 1.2 will be the first step in making that seamless development experience: we're adding support for all its features except for modules, automatically transpiling JS files with Babel so they work on all of Meteor's supported devices and browsers, and changing all our examples and documentation to ES2015.
We hope that you'll make the switch to ES2015 today, especially given how easy this new support makes it. It really is a huge improvement on JavaScript. But if you're not ready to switch, or want to transition your codebase gradually, you'll have that option. You can write some parts of your app in ES2015, some parts without, and adopt ES2015 at your own pace.
Special thanks to Ben Newman, Meteor core developer and Ecma TC39 standards committee member, for his leadership in this area.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.