We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f420a24 commit cb19558Copy full SHA for cb19558
packages/node_modules/overmind-vue/src/index.ts
@@ -63,7 +63,11 @@ function createMixin(overmind, propsCallback) {
63
this[OVERMIND].tree.track(this[OVERMIND].onUpdate)
64
},
65
...(IS_PRODUCTION
66
- ? null
+ ? {
67
+ updated(this: any) {
68
+ this[OVERMIND].tree.stopTracking()
69
+ },
70
+ }
71
: {
72
mounted(this: any) {
73
if (overmind.mode.mode === MODE_SSR) return
@@ -78,6 +82,8 @@ function createMixin(overmind, propsCallback) {
78
82
updated(this: any) {
79
83
80
84
85
86
+
81
87
overmind.eventHub.emitAsync(EventType.COMPONENT_UPDATE, {
88
componentId,
89
componentInstanceId: this[OVERMIND].componentInstanceId,
0 commit comments