首页 开发者工具 React Developer Tools - React开发调试工具

React Developer Tools - React开发调试工具

用户数 : 2000000 分类 : 开发者工具 扩展大小 : 313KiB 最后更新时间 : 2020-07-18 版本 : 4.6.0 (3/26/2020)
                            

React Developer Tools是一款类似于浏览器调试台的插件开发者调试工具,由facebook官方开发推出,非常好用。


在浏览器中安装这个插件后,可以查看Chrome开发者工具中组件的层次、各个组件的Props、States等信息。


安装完成后,你将在Chrome DevTools中看到一个名为React的新选项。点击它,就可以查看新增的内容了。

通过这里提供的组件之一,你可以在右侧面板中进行多项操作。


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.


查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功