lajosbencz / vue-wamp

AutobahnJS wrapper library fo Vue.js
MIT License
48 stars 13 forks source link

Vuex problem #4

Closed lethak closed 7 years ago

lethak commented 7 years ago

Hi, Currently testing your wrapper, so far so good, but I noticed a problem regarding the store (Vuex) in Vue-debug (chrome).

In Vuex, Your store state is hijacking my already existing store (used by vue-router and some custom code)

Do you have any idea on this ?

lajosbencz commented 7 years ago

Haven't tested that properly, thanks for the report

lajosbencz commented 7 years ago

I used vuex to make isOpen, isConnected and isRetrying variables reactive. They are now deprecated until a better solution, status is still available via methods.