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

Expose component instance in shallow rendering #4918

Merged
merged 1 commit into from
Oct 7, 2015

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