We provide an opiniated way use to redux with redux saga to load/split your parts of your app(s). We allow you to dynamicly load what we call "business".
yarn add reloaddux
or
npm install reloaddux --save
import {Store} from 'reloaddux';
const store = new Store();
store.load(business);
store.unload(business)
- Business basicly it define an arbitrary fonctionnality of your store it contains your reducersTree, your sagas.
type Business = {
sagas:array(sagas),
reducersTree: arrayOf(ReducerTree)
}
type ReducerTree = {
[any]: arrayOf(reducerTree)
}
- Babel - Write next generation JavaScript today;
- Jest - JavaScript testing framework used by Facebook;
- ESLint - Make sure you are writing a quality code;
- Flow - A static type checker for JavaScript used heavily within Facebook;
- Travis CI - Automate tests and linting for every push or pull request;
yarn
Created by guipa on 26/05/2017.
Type: string
store.load(business); store.unload(business)