Handling Outgoing Messages and Actions
Learn how to forward actions in WebSockets.
We'll cover the following...
We must consider how and when to pass actions from Redux to the server:
// A function to hold the WebSocket functionality
return action => {
...