loganfsmyth/babel-plugin-transform-decorators-legacy
View on GitHub ↗ ★ 811 JavaScript
A plugin for Babel 6 that (mostly) replicates the old decorator behavior from Babel 5
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2016-10-28 · latest 2017-06-26
20082026
-
Yep, interestingly the decorators proposal has changed significantly since it was in stage-0. So much so that this exists: https://github.com/loganfsmyth/babel-plugin-transform-decora...
comment by dean177 · 2017-06-26 · in TC39, ECMAScript, and the Future of JavaScript -
Nice work. But perhaps you meant to link to https://github.com/mbasso/react-decoration/tree/master/docs instead? The releases page only shows a single release and two decorators. It is also worth noting that the decorator syntax is still…
comment by STRML · 2016-10-29 · in Show HN: React-decoration – A collection of decorators for React Components -
For those of you who are saying that TypeScript is a superset of ES6. Stop! ES6 does not have decorators. See https://github.com/tc39/proposal-decorators . Almost all Angular2 projects, that claim to be using ES6, are in fact using ES6 +…
comment by valera_rozuvan · 2016-10-28 · in Angular 2 docs for ES6/7