-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Namespaced components don't appear #27
Comments
Are you using jsx from React 0.9? It should set the displayName property appropriately. |
I'm using JSX for mimicking HTML, but as I understand it, JSX cannot take nested object names for components, right? |
The JSX compiler transforms your original code into
The |
There's currently no way to use a namespaced component from JSX without bringing it into local scope though. See facebook/react#760 for some discussion on this. |
Thanks, Ben. I hope they introduce that. Yes, it's adding the displayName property, however, the React tab in Chrome On Thu, Mar 6, 2014 at 12:18 PM, Ben Alpert notifications@github.comwrote:
Kendall |
See https://github.com/facebook/react-devtools#the-react-tab-is-blank -- does that solve your problem? |
Is this still an issue? |
Please open a new issue if this is still a problem. We've since launched a new version of the devtools on the Chrome store (it should've auto-updated already). |
When I namespace my components, the devtools can't find them. Furthermore, they appear to have meaningless data-reactids (".0.0.0.0"). Example:
I reference my component using
Game.Views.Page()
. Is JSX responsible for producing meaningful information for the devtools? Is there no way to reference namespaced components using JSX?The text was updated successfully, but these errors were encountered: