This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
CSSTransitionGroup shows many <Unknown> layers #42
Comments
Not really a devtools problem – each of those Unknown components is in fact a separate component; the problem is that we're missing displayName on those classes in the React repo. |
sophiebits
added a commit
to sophiebits/react
that referenced
this issue
Jul 8, 2014
Fixes facebook/react-devtools#42. Test Plan: Crossed fingers.
Was wondering if that was the issue, thanks for the info. It could be nice, though, for the devtools to recognize it is visiting a Transition component, and skip a couple levels of components, just showing |
I think it's probably more valuable for the devtools to always show the actual component structure. |
Going to close this out since it's not actually a devtools issue. We'll get the React fix in. Thanks for reporting! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not sure if this is an issue with the React transition add-on not setting
displayName
properly, but when using theCSSTransitionGroup
, the React Dev Tools shows many layers of<Unknown>
elements.Note, I've just plugged in the example TodoList app from the docs
Code:
Elements Tab:
React Tab:
Would be nice to just show the CSSTransitionGroup wrapper.
The text was updated successfully, but these errors were encountered: