React 开发工具「React Developer Tools」

React 开发工具「React Developer Tools」

增加对Chrome开发工具的调试工具。
(1.2k)
167.8w 次下载Facebook 提供
详情
从前,有只小白兔,一天它挖到一只好大的胡萝卜,往家里搬的时候,半路上杀出一只穿山甲一把抢走了小白兔的胡萝卜。小白兔生气冲着穿山甲说:“你干什么呢!”,穿山甲说: "591198815" 小白兔听了以后,立马就不要胡萝卜了。穿山甲到底说了什么?复制这条消息,然后打开支付宝,你就能知道答案。(点击复制)

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 a new tab called React in your Chrome DevTools. This 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.

截图
React 开发工具「React Developer Tools」 截图
React 开发工具「React Developer Tools」 截图
React 开发工具「React Developer Tools」 截图
* 数据来源于网络,更新于 2019-7-15 17:34:28