A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.
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.
(1) Global error handler
(2) Event log collector
(3) Built-in decorator
Bootstrap function, configuring entry component / error handler / log / initialization action.
Register a module (including lifecycle actions and custom actions).
(To be done)
We also develop a same (90% similarity) framework for website, using the same tech stack.
Our idea is also inspired by many React-based frameworks