Skip to content

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

Closed

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

  1. hristo-kanchev commented on Aug 21, 2019

    @hristo-kanchev
    Contributor

    I'm working on this one.

    Just clarifying if anyone else is looking at this atm.

  2. hristo-kanchev commented on Aug 21, 2019

    @hristo-kanchev
    Contributor

    @bvaughn I've fixed the issue. Once we merge the DevTools in master, I'll create the PR. 🚀

  3. bvaughn commented on Aug 21, 2019

    @bvaughn
    ContributorAuthor

    Thanks @hristo-kanchev. I'll do my best to get #16381 merged as soon as possible.

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