UNPKG

803 BMarkdownView Raw
1# reactopt
2[![npm version](https://badge.fury.io/js/reactopt.svg)](https://badge.fury.io/js/reactopt)
3
4## About
5An open-source, CLI React performance optimization tool.
6
7## Install and Use
8npm install
9```bash
10npm install --save-dev reactopt
11```
12
13Include this code at the top of your main React component file:
14```js
15import { reactopt } from 'reactopt';
16reactopt(React);
17```
18Include this script in your package.json:
19```js
20"reactopt": "node node_modules/reactopt/main.js"
21```
22
23Run command
24```bash
25npm reactopt 'url of running application (local or remote)'
26```
27
28## Team
29This module was created by Candace Rogers, Pam Lam, Vu Phung and Selina Zawacki.
30
31## Credit
32Utilizes a modified version of ([why-did-you-update by maicki](https://github.com/maicki/why-did-you-update))