connect socket first, but only fetch state on re-connect

This commit is contained in:
AlecM33
2022-01-20 23:32:43 -05:00
parent 9cce200a7c
commit 750ef75cd4
2 changed files with 100 additions and 99 deletions

View File

@@ -3,6 +3,8 @@
Now several components can read a shared game state.
*/
export const stateBucket = {
joinRequestInFlight: true,
accessCode: null,
currentGameState: null,
timerWorker: null
environment: null
};