We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b09e74 commit 6233608Copy full SHA for 6233608
packages/runtime-core/src/componentProxy.ts
@@ -194,7 +194,14 @@ export const PublicInstanceProxyHandlers: ProxyHandler<any> = {
194
hasOwn(globalProperties, key))
195
) {
196
return globalProperties[key]
197
- } else if (__DEV__ && currentRenderingInstance) {
+ } else if (
198
+ __DEV__ &&
199
+ currentRenderingInstance &&
200
+ // #1091 avoid isRef/isVNode checks on component instance leading to
201
+ // infinite warning loop
202
+ key !== '_isRef' &&
203
+ key !== '_isVNode'
204
+ ) {
205
if (data !== EMPTY_OBJ && key[0] === '$' && hasOwn(data, key)) {
206
warn(
207
`Property ${JSON.stringify(
0 commit comments