0.4.0 • Published 7 years ago
rebolt-navigation v0.4.0
Rebolt Navigation
a fast, declarative navigation for react native
We're looking forward to seeing your feedback or questions on Discord
Getting started
Installation
Open a Terminal in your project's folder and run,
yarn add rebolt-navigationAfter installation, you will need to add this library to your bsconfig.json dependencies
"bs-dependencies": [
"reason-react",
"rebolt-navigation"
],In addition you will need to install a few peer dependencies:
yarn add bs-react-native react-native-gesture-handlerreact-native-gesture-handler- installation instructionsbs-react-native-^0.8.0
As per this issue, you might need to add the following to your bsconfig.json:
"package-specs": {
"module": "commonjs",
"in-source": true
}This generates output alongside source files. (documentation)
Usage
Examples
- example built-in library - /example
- standalone example - reroute-example
Developing
# Starts Metro (React Native Packager)
npm run start-example
# Runs the app on iOS/Android
npm run run-ios
# Watches for source build changes
npm startLicense
MIT (c) 2018 Callstack