react-websocket
react-websocket copied to clipboard
Doesn't reconnect
Using react 15.x
If my server running the websocket is disconnected, it doesn't attempt to reconnect at all. With debug mode on, the last message is just Websocket disconnected.
Any ideas?
@Kav91 I have same issue. Does any one can help?
@vincent714 I ended up implementing https://github.com/joewalnes/reconnecting-websocket into my react project instead. Works well, haven't had any issues. Just had to set the unmount for it when switching to alternate pages that dont need it.
@Kav91 (batman) Thank you