-
Notifications
You must be signed in to change notification settings - Fork 7
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 transform class properties (ES7+) #92
Comments
Hey @JustFly1984, thanks for opening an issue. :-) Currently JSX/ES7+ (or Babel specific) syntax is not yet supported or isn't via Esprima. See #91 (and #83 FWIW). Hoping to see if using Babylon can make everything work great, which should rightfully include apps/code like this (assuming http://babeljs.io/docs/plugins/transform-class-properties/ is this case) |
Closing this specific issue given the creation of #94. :-) |
@JustFly1984 it's been a long time lol, but fwiw the latest release should support everything up to ES15 now. 😄 |
Still no JSX support yet though. 😞 |
I tried to use Synt, but get an error
Across whole my
React
app codebase I have class methods declared like:This is
babel
's syntactic sugar, so you do not need tomethod.bind(this)
in constructor anymore.This is a bummer for me.
The text was updated successfully, but these errors were encountered: