Skip to content

Conversation

RubyLouvre
Copy link

No description provided.

Provider and Consumer share an internal inaccessible emitter, no more getChildContext or contextTypes
Protect the emitter
@@ -70,21 +70,21 @@ function createReactContext<T>(
defaultValue: T,
calculateChangedBits: ?(a: T, b: T) => number
): Context<T> {
const contextProp = '__create-react-context-' + gud() + '__';
Copy link
Owner

Choose a reason for hiding this comment

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

Where did contextProp go to?

@RubyLouvre
Copy link
Author

add contextProp

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.

2 participants