core-native
A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.
Last updated 8 days ago by dionshi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install core-native 
SYNC missed versions from official npm registry.

A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.

Build Status Language grade: JavaScript Total alerts

Basic Features:

The whole app is split into modules, usually by navigation screens.

For each module, it contains 1 state and some actions, to handle business logic.

No matter sync or async, every action is automatically wrapped as saga generator.

To extend module features, modules can also implement its own lifecycle actions, like onEnter/onDestroy/onActive/onBlur etc.

Advanced Features

(1) Global error handler

(2) Event log collector

(3) Built-in decorator

Core API:

  • startApp

Bootstrap function, configuring entry component / error handler / log / initialization action.

  • register

Register a module (including lifecycle actions and custom actions).

Usage:

(To be done)

Similar Frameworks

We also develop a same (90% similarity) framework for website, using the same tech stack.

https://github.com/neowu/core-fe-project

Our idea is also inspired by many React-based frameworks

https://github.com/dvajs/dva

https://github.com/rematch/rematch

https://github.com/wangtao0101/resa

Current Tags

  • 1.6.7                                ...           latest (8 days ago)

41 Versions

  • 1.6.7                                ...           8 days ago
  • 1.6.6                                ...           8 days ago
  • 1.6.5                                ...           9 days ago
  • 1.6.4                                ...           a month ago
  • 1.6.3                                ...           a month ago
  • 1.6.2                                ...           2 months ago
  • 1.6.1                                ...           2 months ago
  • 1.6.0                                ...           2 months ago
  • 1.5.4                                ...           2 months ago
  • 1.5.3                                ...           2 months ago
  • 1.5.2                                ...           3 months ago
  • 1.5.1                                ...           3 months ago
  • 1.5.0                                ...           3 months ago
  • 1.4.4                                ...           4 months ago
  • 1.4.3                                ...           4 months ago
  • 1.4.2                                ...           4 months ago
  • 1.4.1                                ...           4 months ago
  • 1.4.0                                ...           4 months ago
  • 1.3.9                                ...           4 months ago
  • 1.3.8                                ...           4 months ago
  • 1.3.6                                ...           5 months ago
  • 1.3.4                                ...           5 months ago
  • 1.3.3                                ...           5 months ago
  • 1.3.2                                ...           6 months ago
  • 1.3.1                                ...           7 months ago
  • 1.3.0                                ...           7 months ago
  • 1.2.11                                ...           9 months ago
  • 1.2.10                                ...           9 months ago
  • 1.2.9                                ...           10 months ago
  • 1.2.8                                ...           10 months ago
  • 1.2.7                                ...           10 months ago
  • 1.2.6                                ...           10 months ago
  • 1.2.5                                ...           10 months ago
  • 1.2.4                                ...           10 months ago
  • 1.2.3                                ...           10 months ago
  • 1.2.2                                ...           10 months ago
  • 1.2.1                                ...           10 months ago
  • 1.2.0                                ...           10 months ago
  • 1.1.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 49
Last Day 0
Last Week 46
Last Month 98
Dependencies (10)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |