Closed
Description
Do you want to request a feature or report a bug?
Bug. Regression to be more concrete - facebook/react-devtools#1191
What is the current behavior?
Show Source points to a Function Component body, and Class Component constructor.
What is the expected behavior?
In both cases, you should see "render" methods, class constructor is never something you might want to jump straight into. It was working in this expected way in a previous version of Dev Tools.
Why this is an issue?
Well, until React-Hot-Loader is not 100% deprecated, "Show Source" would not work at all, as long as it (and not only it - mobx
would do the same) is wrapping class constructor, however keeping render
untouched.