Socket.io - React: Mapping array of users from backend returning in an incorrect order and sometimes breaking the application

前端 未结 0 952
暗喜
暗喜 2021-01-16 05:05

I\'m trying to map the users connected to my chat app and render them in a div.

I\'m saving the users in an array of objects and emitting an event updating the array

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