All Projects → oslabs-beta → Reactmonitor

oslabs-beta / Reactmonitor

Licence: mit
Quickly visualize React's component tree and its performance

Programming Languages

javascript
184084 projects - #8 most used programming language

ReactMonitor

Quickly visualize React's component tree performance for improved onboarding and debugging

What does it do

By using the ReactMonitor Chrome DevTool, beginning and experienced developers alike are able to get a visual representation of an existing codebase that they are working on. Built with React, this tool will dynamically traverse the fiber root object behind the scenes, displaying state, props, render times and the type of components on the page.

readmeDemo

How to install and run

To be able to use the application, users can:

  • Download the 'ReactMonitor' Google Chrome extension from The Chrome Web Store

  • Navigate to the domain of your React application that you will be running React Monitor on

  • Open your Chrome Developer Tools and select React Monitor

  • You are now able to view state changes on your application in real time!

Method 2: Clone this repository

  • in the root directory of the clone run npm build

  • in Chrome -> extensions, enable developer mode

  • select add new unpackaged extension

  • in the folder selection window, select the dist folder

Requirements:

  • reactmonitor will only search in children (depth 1) of <body> for the HTML element where a React DOM is rendered only (issue #10)

  • app to be tested needs to include React versions that use Fiber Tree (such as React 16)

  • app to be tested need to be in a development build of React or a Production build with React Profiler enabled

Contributing

As an open-sourced project, ReactMonitor gladly accepts help whenever possible. If you have suggestions for improvements or run into any bugs, please feel free to open a github issue after checking whether no such issue has been filed yet. When you file a github issue, please include the following information:

Description

Steps to Reproduce
1.
2.
3.
Expected behavior:
Actual behavior:
Reproduces how often:
Versions: x.x
Additional Information:

Authors

Rudo Hengst: @RudoH
Lia Pham: @lpham598
Tommy Han: @simple-sifu
Nay Linn: @naylinnpkv
Hamoud Ebnou: @Ebnouhamoud
Dan Bitsmith: @bitsmith-ny19
Philip Rodrigues: @Malvado996

License

This project is licensed under the MIT License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].