When the ShoutBox is mounted, it opens a new websocket connection which is never closed. You can see the following errors on console `Uncaught TypeError: Cannot read property 'scrollTo' of null`  This can be reproduced by toggling the shoutbox a couple of times A possible fix would be to close the websocket on unmount or lifting the ws connection to some parent component which is mounted only once
When the ShoutBox is mounted, it opens a new websocket connection which is never closed. You can see the following errors on console
Uncaught TypeError: Cannot read property 'scrollTo' of nullThis can be reproduced by toggling the shoutbox a couple of times
A possible fix would be to close the websocket on unmount or lifting the ws connection to some parent component which is mounted only once