Skip to content

Commit 7a2937a

Browse files
authored
update the readme file
1 parent 035d96e commit 7a2937a

File tree

1 file changed

+57
-3
lines changed

1 file changed

+57
-3
lines changed

README.md

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,65 @@
11
# React With Lazy loading
2+
How to add lazy loading in react apps using react loadable.
23

34
![lazy loading](https://raw.githubusercontent.com/asifvora/lazy-loading-react-js/master/lazy2.gif)
45

5-
```
6-
npm i // to install dependencies
6+
## Getting Started
7+
8+
For help getting started with React, view online
9+
[documentation](https://reactjs.org/).
10+
11+
#### 1. [Setup React](https://reactjs.org/docs/try-react.html)
12+
13+
#### 2. Clone the repo
14+
15+
```sh
16+
$ https://github.com/asifvora/lazy-loading-react-js.git
17+
$ cd lazy-loading-react-js/
718
```
819

20+
#### 3. Install dependency
21+
22+
```sh
23+
$ npm install
924
```
10-
npm start // to start dev server
25+
26+
#### 4. Run the app
27+
28+
```sh
29+
$ npm start
1130
```
31+
32+
## View Demo
33+
34+
[Demo](https://serene-saha-d894e0.netlify.com/)
35+
36+
## Questions?🤔
37+
38+
39+
Hit me on [![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/007_dark_shadow)
40+
[![Medium](https://img.shields.io/badge/Medium-asifvora-brightgreen.svg)](https://medium.com/@asifvora)
41+
[![LinkedIn](https://img.shields.io/badge/LinkedIn-asifvora-blue.svg)](https://www.linkedin.com/in/asif-vora/)
42+
[![Instagram](https://img.shields.io/badge/Instagram-Asif%20Vora-green.svg)](https://www.instagram.com/007_dark_shadow/)
43+
44+
45+
## License
46+
47+
Copyright (c) Asif Vora
48+
49+
Permission is hereby granted, free of charge, to any person obtaining a copy
50+
of this software and associated documentation files (the "Software"), to deal
51+
in the Software without restriction, including without limitation the rights
52+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
53+
copies of the Software, and to permit persons to whom the Software is
54+
furnished to do so, subject to the following conditions:
55+
56+
The above copyright notice and this permission notice shall be included in all
57+
copies or substantial portions of the Software.
58+
59+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
61+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
62+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
63+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
64+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
65+
SOFTWARE.

0 commit comments

Comments
 (0)