1.0.7 • Published 4 years ago
@ivonna/navigation v1.0.7
@ivonna/navigation
Ivonna is a hybrid development framework of native and react native, which supports IOS and Android.
Installation
npm install @ivonna/navigationUsage
Registry your components
import { AppRegistry } from '@ivonna/navigation';
AppRegistry.registerComponent('Home', HomeComponent);
AppRegistry.registerComponent('Mine', MineComponent);Navigate to destination
import { Navigation } from '@ivonna/navigation';
// ...
Navigation.push('Home');Using the State Manager
import { Container } from '@ivonna/navigation';
const { moduleStore, setModuleStore } = Container.useContainer('Common'); // `Common` is module nameContributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT