Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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