Hacker GitHub

← All repos

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

Mentions per year 13 mentions · busiest year 2015 (9)
20082026
  1. Really wish they had included function decorators too. https://github.com/wycats/javascript-decorators/issues/4
  2. …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
  3. ▲ 2
    JavaScript Decorators
    story by arnold_palmur · 2016-03-31 · 0 comments
  4. …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
  5. ▲ 4
    wycats/JavaScript-decorators
    story by shawndumas · 2015-12-07 · 0 comments
  6. ▲ 1
    JavaScript Decorators
    story by brbcoding · 2015-07-26 · 0 comments
  7. 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
  8. …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
  9. 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
  10. 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/
  11. Check out the spec: https://github.com/wycats/javascript-decorators
  12. You can also use them on class declarations themselves and object literals - https://github.com/wycats/javascript-decorators#object-liter...
  13. …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.