Investigate ECMAScript decorators #10791
Unanswered
shrinktofit
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now that decorators proposal comes to stage 3, we should watch on it. It will eventually become standard and seems can solve our performance problem introduced from legacy decorator model.
What we should watch:
Decorator proposal status: https://github.com/tc39/proposal-decorators
Babel's implementation status:
TypeScript's implementation status:
What we should concern:
The decorator model and performance.
Migration.
Once we adopt the new specification, can we ensure the full-compatibility? I'm afraid not. The model has changed and we should consider on users' wrapping-invocation.
How about the legacy decorators written by users themself.
Beta Was this translation helpful? Give feedback.
All reactions