The 5 ES7 Decorators I want to use, now.

added by bpwndaddy
7/22/2015 3:40:11 PM

378 Views

ith ES6 finalized in June, it is time to look forward to ES7. There are some awesome proposals that you should get excited about, including: Object.observe, async functions, and the new bind operator (::). The future of javascript is even more exciting with the announcement of Web Assembly. All this mixed with V8, Node and Tessel, and we are seeing Javascript slowly begin to take over the world. And I don’t mind that at all. One of the ES7 proposals I am most excited about is function/class decorators. Decorators are a fantastic way to keep your code clean by reusing similar functionality throughout your codebase. They are available right now via babel’s stage 0, and should be widely available in browsers in the next few years (assuming ES accepts the proposal). Exciting, right!? Here are the 5 ES7 decorators I want to use, now.


0 comments