React Functional Component Re-renders exponentially with array state change

前端 未结 0 1252
失恋的感觉
失恋的感觉 2020-11-21 11:14

I am having an issue with one of my functional components. Basically, it has an array of messages in the state; when the server sends a new message, the state should change

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