Automatically push and pop navigator routes/scenes/screens if the navigator props was changed.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.editorconfig
.eslintrc
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
package.json

README.md

react-native-autopilot

Automatically push and pop navigator routes/scenes/screens if the navigator props was changed.

Build status Test coverage Dependency Status

This project simplifies the usage of the Navigator concept in react-native, especially if you use a "flux-like" state driven props-architecture, for example if you use redux / react-redux.

It reverses the abstraction of the original Navigator and NavigatorIOS as well as the commonly used ExNavigator.

Works fine together if you want serialize and persist your navigation state, for example with redux-persist.

Getting started

npm install --save react-native-autopilot

Examples

For getting an idea on how to use this library, please check out the demo project.

Alternatives

Credits

Ideas, discussions and contributions are welcome: Just open a new issue

License

This project is released under the MIT License. See the LICENSE file for further details.