Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

react dev tools not loading in Chrome browser

People also ask

Where is React Devtools in Chrome?

The quickest way to open React Devtools is to right click your page and select inspect. If you've used Chrome or Firefox's developer tools, this view should look a little familiar to you.

How do I inspect React code in Chrome?

Use React developer tools in Chrome By selecting one of the components in the tree, you can inspect and edit its current props and state in the panel on the right. In the breadcrumbs you can inspect the selected component, the component that created it, the component that created that one, and so on.


If you opened a local html file in your browser (file://...) then you must first open chrome extensions and check off "Allow access to file URLs".


You no longer need to do anything.


For older react versions, the main requirement is that window.React is set. If you're using a module system:

if (typeof window !== 'undefined') {
    window.React = React;
}

This should usually be done in your main source file.


That message always displays, even if the React dev tools are installed and working on the current page. This will be fixed in 0.12 (and is already fixed in master). See https://github.com/facebook/react/pull/953.


React tools also won't work if you're in incognito mode. Might help someone.