oslabs-beta/Realize
关于
A React component tree visualizer
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Realize For React
As React applications scale, it becomes more difficult to track state and to have a holistic overview of the component hierarchy. Realize is a tool to help developers visualize the structure and state flow of their React applications, especially when they are growing in scale and complexity. It currently supports React v.16.8.

👩💻 How to use it
- Install the extension from the Firefox store & Chrome store
- Navigate to your React website
- Open the dev tools window and select the Realize Panel
- Trigger a state change to see the component tree populate
Prerequisites
- Realize requires React Dev Tools to be installed before use.
- Realize is best used on non-deployed applications. This uglification of deployed websites makes the component structure pretty unreadable.
🔥 Key Features
Zoom & Pan - Hold down shift to enable dragging and zooming on the tree (to recenter just click the center button)
Component Focus - Click on a node to view state, props and children in the right and panel
State Flow - Click the 'state' toggle to show state flow on the tree. Stateful components have blue nodes and state flow is show by blue links
Search and Highlight - Enter a component name in the search bar to see all matching nodes pulsate
💻 Installing locally
- Clone the repo onto your computer
git clone https://github.com/oslabs-beta/Realize - Run
npm ifrom inside the root directory - Run
npm build - Load the extension from the
build/extensionfolder into your browser of choice:
For Firefox, navigate toabout:debugging#/runtime/this-firefoxand click Load Temporary Addon
For Chrome, navigate tochrome://extensions/toggle developer mode on and click Load Unpacked - Follow steps 2 onwards from the 'How to use it' section
Authors
Fan Shao - Github | LinkedIn
Harry Clifford - Github | LinkedIn
Henry Black - Github | LinkedIn
Horatiu Mitrea - Github | LinkedIn
Contact
You can contact us personally through our LinkedIn accounts (links above) or as a team via [email protected]
Contributing
We would love for you to test out our extensions and submit any issues you encounter. Feel free to fork to your own repo and submit PRs. Some features we would like to add:
- Performance data on render times
- Expanding/collapsing nodes
- Autocomplete on search
License
This project is licensed under the MIT License - see the LICENSE file for details
探索相关项目
加载中…