-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Labels
Description
Whenever I create a new module using registerModule an unrelated watcher is fired in the below component. The module created is not related to the existing scope module in anyway.
Vue.component('component-test', {
template: _template,
props: {
propA: {}
},
data: function() {
return {
data: 'a'
};
},
watch: {
'scope.contacts.selected': function(newVal, oldVal) {
console.log('I am called but why???');
}
},
computed: {
scope: function() {
return this.$store.state.scope;
}
}
});