Traits with ES7 Decorators

added by bpwndaddy
7/16/2015 3:16:46 PM

1064 Views

In this post we are going to explore how to use ES7 features to define traits with a brand new module: traits-decorator. ES6 gave us the simplicity to create classes in a more declarative way. With ES6 modules we have also a better and clear definition of what we are exporting. Those aspects were a primary goal of Cocktail.


0 comments