-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Syntax Decorators #309
Comments
Hi, please search the issues to find previous discussions on this topic. We’re happy to support decorators after the spec advances, and they are officially supported in Babel without the |
For anyone reading this in the future, I would like to point out that the decorators spec has changed significantly. I'm really glad we made the decision to not support them at early stage, so users who didn't eject don't need to change their code. I don't recommend anyone to rely on the legacy decorator transform (that is not part of CRA). See this thread for more info: https://twitter.com/dan_abramov/status/897491076537356288. |
I want to use Babel Syntax Decorators AKA ES7 JavaScript Decorators which is currently not a part of this project.
I believe it is really important and decorators are being a common practice for most of the React projects (esp MobX like projects).
I can submit a pull-request if needed. Please let me know.
The text was updated successfully, but these errors were encountered: