What is the main difference among:
io.on('connection', socket => { // socket.broadcast.to(socketId).emit(); // socket.to(socketId).emit(); // io.to(socketId).emit(); });
All of them works as same, but what is the difference ???
1.4m articles
1.4m replys
5 comments
57.0k users