DEV Community

Discussion on: Write your own WebSocket middleware for React/Redux in 4 Steps

aduranil profile image
Lina Rudashevski Author

Thanks for pointing this out, I do indeed have this defined but did not use it in my code. The original intention was to console.log when the websocket was in a connecting state but not yet connected, simply for logging and debugging purposes. I ended up not using it