lore-hook-bind-actions

Binds all actions to the dispatch method of the Redux store

Installation

First install the hook:

npm install lore-hook-bind-actions --save

Then add the hook to your index.js file.

// index.js
import actions from 'lore-hook-actions';
import bindActions from 'lore-hook-bind-actions';
import redux from 'lore-hook-redux';

lore.summon({
  hooks: {
    actions,
    bindActions,
    redux
  }
});