Sometime emit() is not working #4686
Answered
by
devlopersabbir
devlopersabbir
asked this question in
Q&A
-
I'm facing a simple issue but still now I didn't able to fix this issue.I don't know how I can fix. I am trying to integrate socket.io in expo app.
My socket init with a very simple React
|
Beta Was this translation helpful? Give feedback.
Answered by
devlopersabbir
Apr 10, 2023
Replies: 1 comment
-
I got the solution.
t was a socket connection issue
The solution is I think that remember (
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
devlopersabbir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got the solution.
t was a socket connection issue
useEffect
to connecting my socket when anyone enters this page.socket.connect()
is triggered.socket.emit()
used or not?The solution is I think that remember (
I'm not sure it's a really a solution or not
)When I am trying to send message after that I just reconnect my so…