reactjsgoogle-chrome-extensiongoogle-chrome-devtoolsreact-devtools

React tab doesn't appear in chrome developer tools


I have installed React Developer Tools Chrome browser extension. But i cannot see the React tab in developer tools instead there are new tabs named "Components" & "Profiler".

I re-installed the extension, restarted the browser and computer, checked "Allow access to file URLs" under chrome://extensions/ . I navigated to a url with react https://reactjs.org/tutorial/tutorial.html & yet react tab doesn't appear. However the chrome plugin (react detector in top right of the browser) indicates that react.js in it. How do I get the React tab to appear ?

I am using "react": "16.8.6"


Solution

  • You can't see React tab because, Facebook have updated React DevTools to have Components and Profiler Tabs. ⚛️ Components tab serves same purpose as React tab in older versions. From description,

    You will get two new tabs in your Chrome DevTools: "⚛️ Components" and "⚛️ Profiler".

    The Components tab shows you the root React components that were rendered on the page, as well as the subcomponents that they ended up rendering.

    This can be seen from version 4.0.0. See the release notes here