L5PRY4LCFODVMMTEJ5IKB7PX3BV2BDXDKCI4RW3QGOMTNOAWOKKAC
WTINQMZSNRT5MSAXLMMZVM6OU6TMD4AP4OEUYAXZUFNY5IWFLZSQC
EODDZUMP2DADEIM2XGPPN24VOCUUYMLSF6WUH2WDMOUKNKRJZILAC
GFXCBF2OTGTXCJT22JRJHMS2UN5UANM2K4CXC2ESRG3PD35YAD4QC
HXHNGFB2VCXB6YXDND35HJI22GBJC3QTSUR2TK3M3LXGJHVNXVHAC
ED3IWKTSVYYD52TWW5TOC4H63YZ7FTO3E53YO5NELPG5I3RLRAYAC
FLGWAOMMMGBO5ICWD3SXBOGJQA6LL2ZHTIQIMGY5VNFAETKDPPYAC
"version": "16.14.0",
"resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz",
"integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==",
"version": "17.0.1",
"resolved": "https://registry.npmjs.org/react/-/react-17.0.1.tgz",
"integrity": "sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==",
const [gameState, setGameState] = useState<GameState>(initialGameState.get());
// const [gameState, setGameState] = useState<GameState>(() => new GameStateFactory({}).create());
// const [gameState, setGameState] = useState<GameState>(initialGameState.get());
const [gameState, setGameState] = useState<GameState>(function factory() {
// assertOnlyCalledOnce("app useGameState"); // this fails!!
// return new GameStateFactory({}).create();
// return null as any;
return initialGameState.get();
});