lore-hook-websockets-socketio

WARNING! This hook is a proof of concept, and has never been used in a production application. It was developed to prove that Lore's architecture accounted for the unique concerns that come with using websockets in a real application, and that the interface developed could work with Socket.io.

Provides an implementation of lore-websockets designed to work with socket.io

Installation

First install the hook:

npm install lore-hook-websockets-socketio --save

Then add the hook to your index.js file.

// index.js
import models from 'lore-hook-models';
import redux from 'lore-hook-redux';
import websockets from 'lore-hook-websockets-socketio';

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