socket.io with mern stack Can't perform a React state update on an unmounted component

前端 未结 0 2021
日久生厌
日久生厌 2021-01-06 07:14

hello guys im trying with online/offline system:

backend:

var userCount = 0;
var onlineuserList = [];

io.sockets.on(\'connection\', function (socket)          


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