@ivonna/navigation
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

@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

Package Sidebar

Install

npm i @ivonna/navigation

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

287 kB

Total Files

128

Last publish

Collaborators

  • andjuly