-
Notifications
You must be signed in to change notification settings - Fork 492
Open
Description
When I'm using vuex style to register all listeners, reconnect event is not recognized. If I'm using pure io.on it works correct.
My implementation:
import { io } from 'socket.io-client'
const socket = io()
export default socketimport VueSocketIO from 'vue-socket.io'
import store from '../store'
import socket from './socket'
const PREFIX = 'socket.'
const vueSocketIO = new VueSocketIO({
debug: process.env.NODE_ENV === 'development',
connection: socket,
vuex: {
store,
actionPrefix: PREFIX,
mutationPrefix: PREFIX,
},
})I'm using socket.io 4.4.1 and vuex 3.6.2
Metadata
Metadata
Assignees
Labels
No labels