react-native-fast-image/docs/development.md

32 lines
596 B
Markdown

# Development
For now this uses a modified cli to work around issues with symlinked packages.
This is how to start the example app so you can test code with it.
```bash
# In the repo root folder.
# Install dependencies.
yarn
# Link module.
yarn link
# Move to example folder.
cd ReactNativeFastImageExample
# Install dependencies.
yarn
# Link module.
yarn link react-native-fast-image
# Start packager.
yarn start
# Start the iOS app.
yarn react-native run-ios
# Start the android app.
yarn react-native run-android
# You will need to re-run those commands to re-compile native code.
```