socket io client with react adding /socket.io/ code example Example: socket io react js npm install socket.io