grrowl / redux-scuttlebutt

Distributed replicated redux store
170 stars 14 forks source link

Using with existing socket connection? #20

Open obaid opened 5 years ago

obaid commented 5 years ago

We are already using pusher client in our app and I am wondering if we can use this library with our existing socket connection from pusher?

grrowl commented 5 years ago

You'd have to mux your existing messages with the scuttlebutt ones. I know you can easily do this with socket.io's "rooms" or "namespaces", but I'm not familiar enough with pusher to know if it will support it. redux-scuttlebutt itself supports any Stream.