React-Scope:在与您应用程序交互时可视化您的React组件

网友投稿 782 2022-10-29

React-Scope:在与您应用程序交互时可视化您的React组件

React-Scope:在与您应用程序交互时可视化您的React组件

Visualize your React components as you interact with your application.

Setup

Install React Scope from Chrome web store.(Important) Install React Developer Tools if you haven't already.Enable "Allow access to file URLs" in the extension settings for React Scope.Run your React application.Open Chrome Developer Tools -> React Scope panel.

Usage

Hover over the nodes within the DOM tree visualization to see each component's state and props.

Use your app to make changes to state (e.g., trigger click events, submit data, etc.).

Every state change will update the visualization. You can click the next / prev buttons to navigate between current and previous states of your application.

Notes

This is an early stable release undergoing continuous development. Currently, this version is optimized for use in developing smaller-scale React applications.

If you experience duplicate state/props information being displayed, please try refreshing the page.

Contact

If you have suggestions or want to help make React Scope better, feel free to submit an issue or contact us at reactscope@gmail.com. (Pull requests for typographical errors will likely be ignored.)

Check us out at reactscope.com

Authors:

Kevin Gabinete - https://github.com/kgabinete08

Jonathan Lee - https://github.com/GoingInfinity

Tiffany Lin - https://github.com/misstiffanylin

Ringo Yip - https://github.com/ringoyip0901

© React Scope 2018

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:kaggle挑战赛——超声乳腺癌分割
下一篇:Simple File Dialog 用于在Windows和Linux上打开文件对话框的小型C库
相关文章

 发表评论

暂时没有评论,来抢沙发吧~