Skip to content

guipasmoi/reloaddux

Repository files navigation

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 reloaddux

or

npm install reloaddux --save

getting 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

yarn

API

batchType

Created by guipa on 26/05/2017.

Type: string

Suggested change

store.load(business); store.unload(business)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published