perf: further tweak accessCache
This commit is contained in:
@@ -258,7 +258,7 @@ export function setupStatefulComponent(
|
||||
}
|
||||
}
|
||||
// 0. create render proxy property access cache
|
||||
instance.accessCache = Object.create(null)
|
||||
instance.accessCache = {}
|
||||
// 1. create render proxy
|
||||
instance.renderProxy = new Proxy(instance, PublicInstanceProxyHandlers)
|
||||
// 2. create props proxy
|
||||
|
||||
Reference in New Issue
Block a user