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 un-braced element prop in JSX transform #933

Closed
wants to merge 1 commit into from

Conversation

sophiebits
Copy link
Collaborator

Like <LeftRight left=<a /> right=<b /> />. facebookarchive/esprima#9 makes this possible.

This should be merged with an esprima-fb version bump. However, facebookarchive/esprima@8ca1599 necessitates a change to this transform to look at object.openingElement in most cases so I'll wait for an updated version to be synced out before this can be merged.

@plievone
Copy link
Contributor

esprima-fb version has been pumped in #1095

@sophiebits sophiebits changed the title Support un-braced element child in JSX transform Support un-braced element prop in JSX transform Apr 7, 2014
@zpao
Copy link
Member

zpao commented Apr 7, 2014

I'm going to say no to this.

For others who find this, the idea was to allow shorthand for passing in components. <LeftRight left=<A /> right=<B /> />

@zpao zpao closed this Apr 7, 2014
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

Successfully merging this pull request may close these issues.

4 participants