lore-hook-websockets-actioncable

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 ActionCable.

Provides an implementation of lore-websockets designed to work with the ActionCable implementation introduced in Rails 5

Installation

First install the hook:

npm install lore-hook-websockets-actioncable --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-actioncable';

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