X77LI6U3MBQUEVD6KZ5GTHOCQU2OSUXAMQ52TJKOBFVKAPUENBLAC
4TYJCGT4MTCAH7GSJJWFQPPHZNAUQZDEIZYT365EYTMXS7D2MTNAC
O65A3D4ZQZ4EVMU65B5HRUHYTMZXAIKETO4ZGLY2HWJC57ANMJQAC
5BA7VZ3D36S2TC7NZ64R3O364TGXPY5BJUJTGCFZHWZ6JWAXJMUQC
JG36CDUKVUWJT25PJVMWKWI4KFRHM24PFBKPXXRY3D2XVDKUVI7QC
OEKGYL6XZFMUSQPDFFMGGNAPDDKNW4XJNY6ALYQILBLNCRD5BFRAC
OYNCMT7YDCHK7TFRZDVCMODYMYXRQKK3AU7EOZU7KRA76QGKI3EQC
THNMNMVRZQVPZTEXHIK6WGYN3QDEFPKFOVOCB5HTWCYC5BOBYQ5AC
AAKN4XJLZ2GARZMUFYX3CJZKYHTRRZDYNTFRLMY7VPAY7K6W4N3QC
application.register(container.current!);
// container.current!.appendChild(application.app.view)
// application.register(container.current!);
container.current!.appendChild(application.app.view)
container.current!.appendChild(application.app.view)
console.log(container.current!)
<button onClick={() => application.drawStart()}>rerender all</button>
<button onClick={() => {
container.current!.removeChild(application.app.view);
application = new Application({ originalWidth: window.innerHeight * .75, originalHeight: window.innerHeight * .75 });
container.current!.appendChild(application.app.view);
application.drawStart();
}}>[DEBUG] reset and rerender</button>