Skip to content

Socket.io is emitting an event twice #4003

Discussion options

You must be logged in to vote

In most cases, a duplicate event means you have registered the listener twice. Could you please check?

For future readers, please check our React guide here: https://socket.io/how-to/use-with-react

Replies: 11 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@rajpurohityogesh
Comment options

Answer selected by darrachequesne
Comment options

You must be logged in to vote
1 reply
@berli888
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@bibakroy
Comment options

@ARBHARADWAJ
Comment options

@shahul01
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@ryankc33
Comment options

@FelipeAsenjo
Comment options

@TheVic489
Comment options

@darrachequesne
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet