We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01fdbf4 commit 288ae0aCopy full SHA for 288ae0a
packages/runtime-core/src/componentPublicInstance.ts
@@ -349,7 +349,7 @@ export const PublicInstanceProxyHandlers: ProxyHandler<any> = {
349
)} must be accessed via $data because it starts with a reserved ` +
350
`character ("$" or "_") and is not proxied on the render context.`
351
)
352
- } else {
+ } else if (instance === currentRenderingInstance) {
353
warn(
354
`Property ${JSON.stringify(key)} was accessed during render ` +
355
`but is not defined on instance.`
0 commit comments