AnnaSearl / IvonnaNavigation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@ivonna/navigation

Ivonna is a hybrid development framework of native and react native, which supports IOS and Android.

Installation

npm install @ivonna/navigation

Usage

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 name

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

DingTalk group

About

License:MIT License


Languages

Language:Java 39.7%Language:TypeScript 29.5%Language:Objective-C 23.2%Language:Swift 2.5%Language:JavaScript 2.2%Language:Ruby 1.4%Language:Shell 1.0%Language:C 0.5%