lore-hook-reducers

Creates a set of reducers for each model from blueprints

Installation

First install the hook:

npm install lore-hook-reducers --save

Then add the hook to your index.js file.

// index.js
import models from 'lore-hook-models';
import reducers from 'lore-hook-reducers';

lore.summon({
  hooks: {
    models,
    reducers
  }
});