You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Front-end websocket handling is very messy and definitely needs refactoring.
I'm not sure what the best standard for doing this is but likely using context for the WebSocket connection and a useWebsocket hook.
Ideally switching pages should not reconnect the websocket, so while you are on host/new/buzzer page you will use the same connection when switching between them
The text was updated successfully, but these errors were encountered:
Front-end websocket handling is very messy and definitely needs refactoring.
I'm not sure what the best standard for doing this is but likely using context for the WebSocket connection and a
useWebsocket
hook.Ideally switching pages should not reconnect the websocket, so while you are on host/new/buzzer page you will use the same connection when switching between them
The text was updated successfully, but these errors were encountered: