redux-socket.io
redux-socket.io copied to clipboard
How can I changed the "catchable" server emit EVENT NAME in the plugin?
It seems the socket.io server emit to client 's event name must be "action", like this:
Server:
socket.emit('action', {type:'message', data:'good day!'});
or the plugin can't catch the server event and reduxed it
How can I changed the "catchable" EVENT NAME ? The { execute: optimisticExecute } can only changed the client emit event name
Ask for hurry, I'm ready to use the plugin in the production!