Document running example server and move server directory.
@ -2,3 +2,4 @@ ios/FastImage/Libraries/SDWebImage/.git*
|
||||
ios/FastImage/Libraries/SDWebImage/Examples
|
||||
ios/FastImage/Libraries/SDWebImage/Tests
|
||||
example
|
||||
server
|
||||
|
23
example/README.md
Normal file
@ -0,0 +1,23 @@
|
||||
# FastImage Example
|
||||
|
||||
FastImage example app showing usage and comparing against `Image`.
|
||||
|
||||
## Running FastImage Example
|
||||
|
||||
```bash
|
||||
git clone https://github.com/DylanVann/react-native-fast-image
|
||||
cd react-native-fast-image
|
||||
yarn
|
||||
|
||||
# Starting the image server.
|
||||
cd server
|
||||
yarn
|
||||
yarn start
|
||||
|
||||
# In another terminal.
|
||||
|
||||
# Starting the example app.
|
||||
cd example
|
||||
yarn
|
||||
react-native run-ios
|
||||
```
|
Before Width: | Height: | Size: 16 MiB After Width: | Height: | Size: 16 MiB |
Before Width: | Height: | Size: 12 MiB After Width: | Height: | Size: 12 MiB |
Before Width: | Height: | Size: 8.9 MiB After Width: | Height: | Size: 8.9 MiB |
Before Width: | Height: | Size: 6.8 MiB After Width: | Height: | Size: 6.8 MiB |