React Quantum
插件截图
插件概述
React Quantum parses through your React application to create a color-coded tree model of its component hierarchy. On hover, each…插件详情
React Quantum parses through your React application to create a color-coded tree model of its component hierarchy. On hover, each tree node will display two key component performance metrics—render time and re-render frequency—as well as memoized state and props to indicate what, specifically, initiated the render.The beauty is in the heat map: Nodes will change color depending on the component's rendering performance, making it easy to pinpoint possible bottlenecks at a glance. ?
How it works
*PLEASE NOTE*
- React Quantum utilizes the React Devtool to extract information about your React App.
- Please ensure your project is running on React 16.0+ and that you have the React Devtool installed before using React Quantum.
- Due to the minification of component names during bundling, React Quantum works best with your project bundled in development mode.
1. Open Chrome Developer Tools (Inspect) on any page that uses React, and click on React Quantum at the top of the Developer Tools panel. Upon pressing ‘Start Quantum’, a persistent connection is open and stored on the background page.
2. Refresh the page or set state to trigger a re-render. As the user interacts with the React application, the Mutation Observer listens for changes to the DOM and triggers a script injection to extract and parse the page’s fiber tree.
3. Hover over a node to view information like Component Name, Type, Commit Frequency, Render Time, Current State, and Props.
4. React Quantum runs with heatmap values out-of-the-box, but users could opt to customize their heatmap with percentage inputs at the top of the tree.
其他信息
官方唯一标识:hhfmmpjg****************akdkcafk
官方最后更新日期:2019年3月8日
分类:开发者工具
大小:828KiB
版本:0.2.0
语言:English
提供方:none
星级:4.6
插件下载
| 下载链接一 下载链接二 |
| Chrome插件离线安装教程 |
温馨提示
本站中的部份内容来源网络和网友发布,纯属个人收集并供大家交流学习参考之用,版权归版权原作者所有。
如果您发现网站上有侵犯您的知识产权的作品,请与我们取得联系,我们会及时修改或删除。
如果您觉得网多鱼对您有帮助,欢迎收藏我们 Ctrl+D。