Array with useState not updating value inside websocket function

后端 未结 0 1528
我在风中等你
我在风中等你 2021-01-01 01:47

I am trying to change the state of an array when an event happens in the browser, specifically when the websocket is triggered, the problem is that my array keeps the origin

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