diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 19035961..3fea92ba 100644 --- a/packages/runtime-core/src/component.ts +++ b/packages/runtime-core/src/component.ts @@ -549,7 +549,7 @@ function setupStatefulComponent( } } // 0. create render proxy property access cache - instance.accessCache = {} + instance.accessCache = Object.create(null) // 1. create public instance / render proxy // also mark it raw so it's never observed instance.proxy = new Proxy(instance.ctx, PublicInstanceProxyHandlers)