React Developer Tools - React开发调试工具 ,React Developer Tools - React开发调试工具
React Developer Tools - React开发调试工具的使用方法详解,最全面的教程
React Developer Tools - React开发调试工具描述:
用户数:3000000
分类:开发者工具
扩展大小:313KiB
最后更新时间:2021-11-02
版本:4.6.0 (3/26/2020)
React Developer Tools - React开发调试工具插件简介:
这是来自Chrome商店的React Developer Tools - React开发调试工具浏览器插件,您可以在当前页面下载它的最新版本安装文件,并安装在Chrome、Edge等浏览器上。
React Developer Tools - React开发调试工具插件下载方法/流程:
点击下载按钮,关注“本站Extfans”公众号并获取验证码,在网页弹窗中输入验证码,即可下载最新安装文件。
React Developer Tools - React开发调试工具插件安装教程/方法:
(1)将本站上下载的安装包文件(.zip)解压为文件夹,其中类型为“crx”的文件就是接下来需要用到的安装文件
(2) 从设置->更多工具->扩展程序 打开扩展程序页面,或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
(3) 打开扩展程序页面的“开发者模式”
(4) 将crx文件拖拽到扩展程序页面,
完成安装如有其它安装问题,
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.