Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

callstackincubator/rebolt-navigation

Repository files navigation

Rebolt Navigation

Build Status Version MIT License PRs Welcome Chat

a fast, declarative navigation for react native

We're looking forward to seeing your feedback or questions on Discord

Getting started

Rebolt Navigation website

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": [
  "reason-react",
  "rebolt-navigation"
],

In addition you will need to install a few peer dependencies:

yarn add rebolt react-native-gesture-handler

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

View the docs

Examples

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

About

Fast and declarative router for Rebolt

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 9