Skip to content

Fix React v16 prevContext issue#14

Closed
lorenzomigliorero wants to merge 1 commit intoaboeglin:masterfrom
lorenzomigliorero:master
Closed

Fix React v16 prevContext issue#14
lorenzomigliorero wants to merge 1 commit intoaboeglin:masterfrom
lorenzomigliorero:master

Conversation

@lorenzomigliorero
Copy link
Copy Markdown

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
Copy Markdown

Coverage Status

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

@aboeglin
Copy link
Copy Markdown
Owner

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

@aboeglin
Copy link
Copy Markdown
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