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 7e6a76e commit 5278e06Copy full SHA for 5278e06
packages/runtime-core/src/compat/instance.ts
@@ -130,13 +130,15 @@ export function installCompatInstanceProperties(map: PublicPropertiesMap) {
130
return res
131
},
132
133
- // internal data access... (vuex uses this)
+ // some private properties that are likely accessed...
134
+ _self: i => i.proxy,
135
+ _uid: i => i.uid,
136
_data: i => i.data,
137
+ _isMounted: i => i.isMounted,
138
+ _isDestroyed: i => i.isUnmounted,
139
140
// v2 render helpers
141
$createElement: () => compatH,
- _self: i => i.proxy,
- _uid: i => i.uid,
142
_c: () => compatH,
143
_o: () => legacyMarkOnce,
144
_n: () => toNumber,
0 commit comments