wycats/javascript-decorators
View on GitHub ↗ ★ 2,381
13 mentions on Hacker News by 13 people: 3 stories, 10 comments · first 2015-05-31 · latest 2017-06-27
20082026
-
Really wish they had included function decorators too. https://github.com/wycats/javascript-decorators/issues/4
comment by tlrobinson · 2017-06-27 · in TC39, ECMAScript, and the Future of JavaScript -
…class which adds the desired behaviour)? Related ECMAscript proposal which adds some syntax sugar: https://github.com/wycats/javascript-decorators
comment by olalonde · 2016-05-23 · in The Nit Programming Language -
…case. For decorators, the proposal itself is still in flux. The current version of the proposal ( https://github.com/wycats/javascript-decorators/blob/master/... ) is actually quite different from the old proposal, which was the one that…
comment by taion · 2016-03-28 · in Babel 6 – useless by default -
You mean like the ES7 decorators proposal[1], or something else? [1] https://github.com/wycats/javascript-decorators
comment by joshuacc · 2015-07-23 · in ES6 in Depth: Classes -
…function). These problems don't admit of a simple solution (at least as far as I can see). [1]: https://github.com/wycats/javascript-decorators/issues/4
comment by svieira · 2015-07-13 · in Exploring ES2016 Decorators -
You don't have to use them with just classes: https://github.com/wycats/javascript-decorators
comment by Bahamut · 2015-06-26 · in Using ES7 Decorators as Mixins -
That's also a Javascript decorator. You can use it with Babel today if you pass in `{stage: 0}`. https://github.com/wycats/javascript-decorators http://babeljs.io/docs/usage/experimental/
comment by atjoslin · 2015-06-10 · in Show HN: Ng-classy – Use Angular 1 and ES6 with ease -
Check out the spec: https://github.com/wycats/javascript-decorators
comment by cnp · 2015-05-31 · in Show HN: ES7 Decorator library adds types checking, memoization, and more to JS -
You can also use them on class declarations themselves and object literals - https://github.com/wycats/javascript-decorators#object-liter...
comment by eltaco · 2015-05-31 · in Show HN: ES7 Decorator library adds types checking, memoization, and more to JS -
…how decorators work and how you can implement them yourself, without the syntactic sugar obviously https://github.com/wycats/javascript-decorators Proxies are an entire different thing.
comment by aikah · 2015-05-31 · in Show HN: ES7 Decorator library adds types checking, memoization, and more to JS