Chrome插件屋

React Developer Tools

Adds React debugging tools to the Chrome Developer Tools.
将 React 调试工具添加到 Chrome 开发者工具中。

Created from revision b566064da on 4/15/2024.

React Developer Tools is a Chrome DevTools extension for the open-source React JavaScript library. It allows you to inspect the React component hierarchies in the Chrome Developer Tools.

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.

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.

This extension requires permissions to access the page’s React tree, but it does not transmit any data remotely. It is fully open source, and you can find its source code at https://github.com/facebook/react/tree/master/packages/react-devtools-extensions.

 

下载地址:

点击下载
本文标题:React Developer Tools
转载请保留页面地址:https://chromewu.com/react-developer-tools.html
退出移动版