Skip to content

Conversation

RSO
Copy link

@RSO RSO commented Dec 9, 2015

The previous code assumed that all children that were of type
CallExpression were in fact calls on MemberExpressions. This fix makes
sure we also support other calls.

@cpojer
Copy link
Member

cpojer commented Dec 9, 2015

Can you rebase this? It conflicts with your other pull request that I just merged :)

@RSO
Copy link
Author

RSO commented Dec 10, 2015

Sure thing!

The previous code assumed that all children that were of type CallExpression were in fact calls on MemberExpressions. This fix makes sure we also support other calls.
@RSO RSO force-pushed the create-element-to-jsx/call-as-children branch from b6f45bf to c2af795 Compare December 10, 2015 09:55
cpojer added a commit that referenced this pull request Dec 10, 2015
Allow for a callExpression as child that's not an element.
@cpojer cpojer merged commit 093bafa into reactjs:master Dec 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants