using javascript globalThis for state management

前端 未结 0 983
無奈伤痛
無奈伤痛 2021-02-02 12:04

It seems like a crazy idea, but is there any problem if I use globalThis to store the global state of my browser only SPA.

I am thinking of something like this

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题