Skip to content

DevTools: Don't show "context" for classes without either contextType or contextTypes #16466

@bvaughn

Description

@bvaughn
  • Don't show "context" for classes without either contextType or contextTypes
  • For classes with contextTypes, change the label to "legacy context" instead

Originally reported by @gaearon via bvaughn/react-devtools-experimental#368

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions