Skip to content

Emphasis on single child.#173

Merged
petehunt merged 1 commit intofacebook:masterfrom
chenglou:patch-4
Jul 7, 2013
Merged

Emphasis on single child.#173
petehunt merged 1 commit intofacebook:masterfrom
chenglou:patch-4

Conversation

@chenglou
Copy link
Contributor

@chenglou chenglou commented Jul 6, 2013

Returning more than one child from render will naturally yield and error, but currently the error message for having multiple children looks like this:

Uncaught Error: Line 82: Invalid regular expression: missing /

Would be better if this error has its own error message.

@petehunt
Copy link
Contributor

petehunt commented Jul 7, 2013

@chenglou if you sign our CLA we can merge this in: https://developers.facebook.com/opensource/cla

@chenglou
Copy link
Contributor Author

chenglou commented Jul 7, 2013

Done.

petehunt added a commit that referenced this pull request Jul 7, 2013
Emphasis on single child.
@petehunt petehunt merged commit 6ebdd0c into facebook:master Jul 7, 2013
@chenglou chenglou deleted the patch-4 branch July 7, 2013 06:21
bvaughn added a commit to bvaughn/react that referenced this pull request Aug 13, 2019
Support legacy React versions
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.

2 participants