Comments (8)
Are you using jsx from React 0.9? It should set the displayName property appropriately.
from react-devtools.
I'm using JSX for mimicking HTML, but as I understand it, JSX cannot take nested object names for components, right?
from react-devtools.
The JSX compiler transforms your original code into
Game.Views.Page = React.createClass({displayName: 'Page',
render: function() {
return (
React.DOM.section( {className:"page"}, "Hello, World")
);
}
});
The displayName
property allows the dev tools to show the right component name.
from react-devtools.
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.
from react-devtools.
Thanks, Ben. I hope they introduce that.
Yes, it's adding the displayName property, however, the React tab in Chrome
DevTools is still as empty as can be. Am I missing something obvious?
On Thu, Mar 6, 2014 at 12:18 PM, Ben Alpert [email protected]:
There's currently no way to use a namespaced component from JSX without
bringing it into local scope though. See facebook/react#760https://github.com/facebook/react/pull/760for some discussion on this.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-36925395
.
Kendall
Co-Founder, Banzai
[email protected] | 435.503.1462
from react-devtools.
See https://github.com/facebook/react-devtools#the-react-tab-is-blank -- does that solve your problem?
from react-devtools.
Is this still an issue?
from react-devtools.
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).
from react-devtools.
Related Issues (20)
- Can't install in Firefox HOT 1
- Expand all elements using default browser hot keys HOT 1
- Security issues with React.Provider HOT 5
- Search input text colour HOT 4
- Is it unmaintainable? HOT 1
- React App not Functioning with Extension Enabled HOT 1
- Having the devtools extension enabled breaks Kibana HOT 3
- New devtools is not compatible with React 0.14 HOT 5
- New Devtools: Where is Highlight Updates? HOT 5
- New Devtools Broken on Firefox 68.0.2, Windows 10 HOT 1
- React Devtools - Component selection bug v4 HOT 1
- Remove emoji from browser devtools tabs HOT 2
- New Devtools: Update props does not rerender component HOT 2
- Inspector: clicking on element with style object value causes crash HOT 1
- Firefox Private Browser Support HOT 1
- Show component file path HOT 1
- Long interaction names cannot be seen HOT 1
- Getting maximum call stack exceeded on backend.js when rendering many elements. HOT 2
- Using react-devtools to inspect component that only appears on hover HOT 1
- React devtools 4.0.4 (8/18/2019) Expected to find root ID. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-devtools.