React Developer Tools 是一款可以在 Chrome开发者工具审查 React 组件的浏览器扩展。
Adds React debugging tools to the Chrome Developer Tools. Created from revision 75726fadfd on 10/19/2020.
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.
React Developer Tools v4.9.0 (10/19/2020)
React Developer Tools v184.108.40.206