We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Vuex, the SOCKET_error action does not contain a message.
SOCKET_error
export const actions = { SOCKET_error: ({}, data) => console.log(data), // data = undefined // BUT! SOCKET_any_other_event: ({}, data) => console.log(data) // data = {...}, its ok }
In component this.$socket.on("error", console.log) works ok, receive an error message
this.$socket.on("error", console.log)
Maybe, change src/listenler.js:41: From VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, () => this.onEvent(event))) To VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, args => this.onEvent(event, args)))
src/listenler.js:41
VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, () => this.onEvent(event)))
VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, args => this.onEvent(event, args)))
The text was updated successfully, but these errors were encountered:
@NomNes thank you for pr!
Sorry, something went wrong.
MetinSeylan
NomNes
No branches or pull requests
In Vuex, the
SOCKET_error
action does not contain a message.In component
this.$socket.on("error", console.log)
works ok, receive an error messageMaybe, change
src/listenler.js:41
:From
VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, () => this.onEvent(event)))
To
VueSocketIOListenler.staticEvents.forEach(event => this.io.on(event, args => this.onEvent(event, args)))
The text was updated successfully, but these errors were encountered: