lore-hook-connect

Provides the connect decorator for data retrieval

Installation

First install the hook:

npm install lore-hook-connect --save

Then add the hook to your index.js file.

// index.js
import actions from 'lore-hook-actions';
import connect from 'lore-hook-connect';

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