facebook/react

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

Closed this issue · 3 comments

  • 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

I'm working on this one.

Just clarifying if anyone else is looking at this atm.

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

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