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 batchedUpdates on shallow renderer #9382

Merged
merged 1 commit into from
Apr 8, 2017

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Apr 8, 2017

I think this should help resolve issues with migration to react-test-renderer/shallow in enzymejs/enzyme#876. Turns out Enzyme relied on ReactDOM.unstable_batchedUpdates which stopped working with shallow renderer. This is fixable if we expose an equivalent on shallow renderer itself.

Copy link
Contributor

@bvaughn bvaughn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes Enzyme 15 tests!

@gaearon gaearon merged commit 69933e2 into facebook:15-stable Apr 8, 2017
@gaearon gaearon mentioned this pull request Apr 8, 2017
10 tasks
@gaearon gaearon deleted the expose-batchedupdates-shallow branch April 8, 2017 22:14
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.

3 participants