Daniel Debert
Daniel Debert
It's a race condition. If a component is not mounted before the socket connects, it won't trigger `connect`. If the socket connects after it's mounted it will trigger the events....
If your backend server uses CORS with `auth` put in socket options `withCredentials: true,`. It will just go silent without throwing the error if you use WebSocket as a first...
Any plans on introducing it? This library is pretty useless without this feature.
Well it doesn't explain if it can be 1 or just 42, or even if it needs to be different number than other classes.