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

Fix React v16 prevContext issue #14

Closed
wants to merge 1 commit into from
Closed

Fix React v16 prevContext issue #14

wants to merge 1 commit into from

Conversation

lorenzomigliorero
Copy link

facebook/react#8631
In React v16, prevContext is not longer passed only in componentDidUpdate, but in previous lifecycle it's present.

facebook/react#8631
In React v16, prevContext is not longer passed only in componentDidUpdate, but in previous lifecycle it's present.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 90.857% when pulling 9417674 on lorenzomigliorero:master into a38e6a8 on aboeglin:master.

@aboeglin
Copy link
Owner

Thanks for that ! Looks good. I'll review and merge as soon as I can. It's pretty tense lately.

@aboeglin
Copy link
Owner

Your tests didn't pass, as there was a lot of breaking changes with enzyme. Therefore I just merged a PR I did which upgrades to react 16, and also updates the tests with enzyme 3+.

#18 should be fine, I'll publish it to npm in a sec !

@aboeglin aboeglin closed this Feb 11, 2018
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.

3 participants