Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 836 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 836 Bytes

Redux websocket middleware

travis building

This is a Redux middleware for handling single or multiple websocket. Websocket with redux maybe make you headake. So I create this module to help you.

Install

yarn add redux-middleware-ws

Usage

Single instance

Edit lrp134qv69

online example:

<iframe src="https://codesandbox.io/embed/lrp134qv69" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"></iframe>

Multiple instance

  • [] add multiple example

https://medium.com/@ianovenden/redux-websocket-integration-c1a0d22d3189