-
Notifications
You must be signed in to change notification settings - Fork 490
Reconnect event does not to be trigger #335
Copy link
Copy link
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels