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

Pass Context.Consumer to context toolbox #3368

Merged

Conversation

nathanstitt
Copy link
Contributor

As outlined in react-restart/context#9, context toolbox needs to only use Context.Consumer since it can't navigate to the Consumer property reliably.

@taion
Copy link
Member

taion commented Nov 12, 2018

this is the opposite of what's discussed in react-restart/context#9 (comment), no?

@nathanstitt
Copy link
Contributor Author

Right you are @taion - thanks for noticing and setting me straight. That's what I get for coding on weekend evening. I'll update PR shortly

As outlined in react-restart/context#9, context toolbox
needs to only use only Context, not Context.Consumer
@jquense jquense merged commit 8ead371 into react-bootstrap:master Nov 13, 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.

None yet

3 participants