Automatically push and pop navigator routes/scenes/screens if the navigator props was changed.
JavaScript
Latest commit b08475c Aug 16, 2016 @jerolimov jerolimov Release 0.4.1

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.