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

Dependencies

This hook depends on:

  • lore-hook-models
  • lore-hook-redux

The models dependency comes from the fact that this hook uses the names of the models in order to generate the websockets actions.

The redux dependency comes from the fact that this hook needs the Redux store to exist first in order to get access to the dispatch() method.