-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
Parens () inside of {} causes a syntax error when passed through JSXTransformer #116
Comments
I can confirm this works after the empty-xjs-expressions diff (which is coming as soon as I can coordinate with @zpao on pushing separate dependent repos -- which should be in the coming day or two I hope) |
FYI: You should be safe to push that to esprima at any point now. Once it's there we can pull down the updated transform and update our esprima dependency rev. |
It's now working :) Closing |
bvaughn
added a commit
to bvaughn/react
that referenced
this issue
Aug 13, 2019
Add collapse/toggle UI to Tree
taneliang
referenced
this issue
in MLH-Fellowship/react
Aug 17, 2020
taneliang
referenced
this issue
in MLH-Fellowship/react
Aug 19, 2020
This was referenced Oct 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This happens in both JSXTransformer 0.3.0 and 0.3.2
Something like:
Gets transformed into:
Test/demo case at:
http://jsfiddle.net/mvD4f/2/
I think this might be related to the
{/* this fails currently */}
issue at #82The text was updated successfully, but these errors were encountered: