React Dev Tools

React Developer Tools is an extension to the browser developer tools. It helps you to check and edit the React component tree as well as props, state, and hooks for each component. this article will show you some basic debugging you can do with it.

For Chrome browser you can install it through this link

When you add it to browser 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 sub components that they ended up rendering.

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 inspect a React element on the page using the regular Elements tab, then switch over to the React tab, that element will be automatically selected in the React tree.

The Profiler tab allows you to record performance information. React Developer Tools is an extension to the browser developer tools. It helps you to check and edit the React component tree as well as props, state, and hooks for each component. this article will show you some basic debugging you can do with it.

For Chrome browser you can install it through this link

When you add it to browser 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 sub components that they ended up rendering.

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 inspect a React element on the page using the regular Elements tab, then switch over to the React tab, that element will be automatically selected in the React tree.

The Profiler tab allows you to record performance information.

Last updated