8.2.2 • Published 1 year ago
cycle-native-navigation v8.2.2
Cycle Native Navigation
Integrate your Cycle.js app with react-native-navigation
, to handle navigation between multiple screens with native support. This library replaces @cycle/run
and is not a driver, but provides some built-in drivers.
npm install cycle-native-navigation
Note: react-native-navigation
, react-native
, react
are expected peer dependencies.
- If using React Native 0.60 or higher, choose this library's version 6.0.0+
- If using React Native 0.59 or lower, choose 5.2.0 or lower
Usage:
import {run} from 'cycle-native-navigation';
const screens = {
MainScreen: function main(sources) { /* Your Cycle.js component here... */ },
ListScreen: function list(sources) { /* ... */ },
HelpScreen: function help(sources) { /* ... */ },
};
const drivers = {
// Typical Cycle.js drivers object that is given to run()
};
const layout = {
// The initial app layout, see react-native-navigation docs about this
};
const defaultNavOptions = {
// Navigation options for every screen, see react-native-navigation docs
};
run(screens, drivers, layout, defaultNavOptions);
8.2.2
1 year ago
8.2.1
1 year ago
8.2.0
2 years ago
8.1.0
3 years ago
8.0.0
3 years ago
7.8.0
4 years ago
7.7.0
4 years ago
7.5.0
4 years ago
7.4.0
4 years ago
7.3.0
4 years ago
7.2.0
4 years ago
7.1.0
4 years ago
7.0.0
4 years ago
6.1.0
5 years ago
6.0.0
5 years ago
5.2.0
5 years ago
5.1.0
6 years ago
5.0.0
6 years ago
4.2.0
6 years ago
4.1.0
6 years ago
4.0.0
6 years ago
3.2.0
6 years ago
3.1.0
6 years ago
3.0.0
6 years ago
3.0.0-rc1
6 years ago
2.2.0
6 years ago
2.1.0
6 years ago
2.0.0
6 years ago
1.5.0
6 years ago
1.4.0
7 years ago
1.3.0
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago
1.0.0
7 years ago