Closed utkarsh-1602 closed 8 months ago
Hi! I think it will be easier to put the socket
object in its own file, which can then be imported in the components.
Reference: https://socket.io/how-to/use-with-react
I think this can be closed now. Please reopen if needed.
Discussed in https://github.com/socketio/socket.io/discussions/4943