Skip to content
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 default params with JSXTransformer's harmony flag. #2557

Closed
appsforartists opened this issue Nov 18, 2014 · 2 comments
Closed

Support for default params with JSXTransformer's harmony flag. #2557

appsforartists opened this issue Nov 18, 2014 · 2 comments

Comments

@appsforartists
Copy link

The following code is not transformed by JSX:

  render: function (optionalArg = "default value") {

See for yourself here.

Other transpilers, like 6to5, support this transformation.

@zpao
Copy link
Member

zpao commented Nov 19, 2014

Since we still use jstransform we'll get this when it does. For now I'm going to close this since there's nothing actionable to do here but wait. Thanks for filing and for filing in jstransform :)

@zpao zpao closed this as completed Nov 19, 2014
@appsforartists
Copy link
Author

No worries. It took me longer than it should have to find jstranform - otherwise I would have started there. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants