Skip to content

Conversation

@glenjamin
Copy link
Contributor

Fixes #4056

@koba04
Copy link
Contributor

koba04 commented Sep 20, 2015

What is the reason for exposing as a new API?
It seems to be better to return by ReactShallowRenderer.render because of consistency between ReadDOM.render.

@glenjamin
Copy link
Contributor Author

Mostly for "consistency" with the other way of getting info out of a shallow render: getRenderOutput()

@sebmarkbage sebmarkbage added this to the 0.15 milestone Oct 6, 2015
sophiebits added a commit that referenced this pull request Oct 7, 2015
Expose component instance in shallow rendering
@sophiebits sophiebits merged commit 8ebbb78 into facebook:master Oct 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants