DEV Community

Discussion on: Simple react-based chat application

Collapse
kamo profile image
KAIDI Author

I dont see what do you mean by this, but I use pass express server as an argument to socketIO

const server = http.createServer(app);
const io = socketIo(server);