global variable vs session weak map

Thanks so much for such a short and clear explanation!

*I used to have a “game manager” device all the time and never encounter situation i need variable across devices. Thanks to you, i consider changing my approach.

1 Like