Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Conversation

@bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Jan 3, 2019

Resolves #1251

props = fiber.memoizedProps;

// v16.3-16.5 read from fiber.type (because the Consumer is the full context object)
// v16.6+ should read from fiber.type._context (because Consumer is a separate object)
Copy link
Contributor

Choose a reason for hiding this comment

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

"is a separate object in DEV" maybe

@bvaughn bvaughn merged commit f2eee8e into facebook:master Jan 3, 2019
@bvaughn bvaughn deleted the ContextConsumer-displayName-fix branch January 3, 2019 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants