DevTools: Don't show "context" for classes without either contextType or contextTypes
Closed this issue · 3 comments
bvaughn commented
- 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
hristo-kanchev commented
I'm working on this one.
Just clarifying if anyone else is looking at this atm.
hristo-kanchev commented
@bvaughn I've fixed the issue. Once we merge the DevTools in master, I'll create the PR. 🚀
bvaughn commented
Thanks @hristo-kanchev. I'll do my best to get #16381 merged as soon as possible.