Comments (5)
@jayphelps Babel has begun work on upgrading to stage 2 spec. We may not support the older spec in next major release. Would you like to join the discussion on Babel's slack? I've sent you an invite. (To anyone else who wants to join, you can get a slack invite from here and the discussion channel is #proposal-decorators)
As a decorators library author it'd be useful to get your thoughts on migration from stage 0 spec to stage 2 spec.
from core-decorators.
If you're just looking to play around / test out how it might work against the stage-2 spec, I did an initial implementation of a transform for babel 6 here: https://github.com/jkrems/babel-plugin-transform-decorators-stage-2-initial
(Note: class decorators are only partially implemented but method decorators should work mostly according to spec.)
from core-decorators.
@jkrems that's sweet! I will indeed take a look. Thanks for letting me know.
from core-decorators.
@jayphelps Seems they moved back to GitHub: babel/babel#2645
from core-decorators.
@peey thanks! Sorry I forgot to comment here, but I did visit the channel and do still plan to update core-decorators to be stage-2 compliant when a compiler (babel or TS) supports it 👍
from core-decorators.
Related Issues (20)
- Unexpected token import HOT 3
- Why does test/unit/extendDescriptor.js not have .spec in its name? HOT 3
- Add tslint to the project
- Check-in lib & esm folders? HOT 2
- Typescript generates enumerable methods HOT 2
- Autobind decorator HOT 2
- Issue with Redux passing {type, foo} as Action parameter HOT 2
- Tree shaking seems not working. HOT 5
- Decorators for validations HOT 2
- @decorateMethod HOT 3
- Why is debounce and throttle depracated HOT 2
- Why is mixin deprecated? HOT 2
- docs: README shows wrong build status badge HOT 1
- Issues with readonly and enumreable HOT 4
- Cannot resolve symbol 'applyDecorators' Validate ES6 imports HOT 5
- Explain applyDecorators() for a function prototype
- Support Node 10 ECMAScript Modules HOT 1
- suppressWarnings decorator function cannot suppress deprecated decorator function call console.warn output
- core-decorators broken with react-native 0.57.1 and babel 7.0.0. HOT 4
- Override reports error when not all intermediate classes implement method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core-decorators.