Emitting event from server along with the callback and expecting client to trigger callback as the event received to acknowledge the server. Client is getting args[1] as null when it should be a callback.
Steps:
setup "socket.io-client": "^2.0.0" in react just to test if callback is emitting from server, in this test code, callback received.
Problem:
Emitting event from server along with the callback and expecting client to trigger callback as the event received to acknowledge the server. Client is getting args[1] as null when it should be a callback.
Steps: setup
"socket.io-client": "^2.0.0"
in react just to test if callback is emitting from server, in this test code, callback received.server:
client
server socket.io version
"socket.io": "^2.0.3",
client versionio.socket:socket.io-client:1.0.0
cannot upgrade versions as this is legacy code up and running on prod. Any help would be appreciated. Thanks