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

Interleaved Context.Provider bugfix #12187

Merged
merged 2 commits into from
Feb 8, 2018
Merged

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Feb 8, 2018

Resolves #12182

@bvaughn bvaughn changed the title Invalid default context consumer value Interleaved Context.Provider bugfix Feb 8, 2018
Copy link
Collaborator

@acdlite acdlite left a comment

Choose a reason for hiding this comment

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

Yay

@acdlite
Copy link
Collaborator

acdlite commented Feb 8, 2018

It should warn in DEV if the context on the stack doesn't match the expected type. We can do this in a follow-up.

@bvaughn bvaughn merged commit b5e9615 into facebook:master Feb 8, 2018
@bvaughn bvaughn deleted the 12182-context-bug branch February 8, 2018 22:23
rhagigi pushed a commit to rhagigi/react that referenced this pull request Apr 19, 2018
* Added failing unit test

* Maybe fixed interleaved context provider bug?
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.

None yet

3 participants