Basic chat functionality made with socket.io and React