0.0.9 • Published 8 years ago
reloaddux v0.0.9
reloaddux
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".
Install
yarn add reloadduxor
npm install reloaddux --savegetting Started
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)
}Tech
- 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;
Install
yarnAPI
batchType
Created by guipa on 26/05/2017.
Type: string
Suggested change
store.load(business); store.unload(business)