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