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-navigation
After installation, you will need to add this library to your bsconfig.json
dependencies
"bs-dependencies": ,
In addition you will need to install a few peer dependencies:
yarn add bs-react-native react-native-gesture-handler
react-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 start
License
MIT (c) 2018 Callstack