Chapter 5. Watching for ES7
As of January 2016, the list of possible features for ES6 has been frozen. Only the proposals that are already on the list may be included in ES6. Any additional proposed features to ECMAScript will have to wait in hopes of being included in ES7. Potential features for ES7 have already begun to appear.
Note
JS.Next refers to the next version of the JS API. Currently JS.Next refers to ES6. Once the ES6 release is live, JS.Next will refer to the ES7 release. JS.Next will always refer to the next update to the language.
Several of the potential features have the possibility of really changing the way we think about app development in JavaScript. Taking an initial look at those features now can give us some time to digest them while the ES7 release is being prepared over the next few years.
Everything in this section is partially speculation. None of the following proposed features has been officially accepted into the final ES7 release. Additionally, only Object.observe has been officially approved as a Harmony proposal.
Object.observe
A popular feature in modern frontend JavaScript frameworks is two-way databinding. Having two-way databinding makes life easier on your developers. It allows them to focus on writing new code rather than worry about keeping all the data in sync. Object.observe makes two-way databinding easier than ever before.
On any given JavaScript-assembled web page, the values on the page represent some JavaScript variable in your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access