react-native-autopilot
Automatically push and pop navigator routes/scenes/screens if the navigator props was changed.
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
- Pure Navigator, (Navigator.js)
- Pure NavigatorIOS, (NavigatorIOS.ios.js)
- Pure ExNavigator, (ExNavigator.js, ExRoute.js)
- react-native-router-redux
- react-native-router-flux
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.