Skip to content

Commit d637bd6

Browse files
authoredNov 15, 2024··
perf(reactivity): do not track inner key __v_skip` (#11690)
1 parent 2d78539 commit d637bd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎packages/reactivity/src/baseHandlers.ts

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ class BaseReactiveHandler implements ProxyHandler<Target> {
5353
) {}
5454

5555
get(target: Target, key: string | symbol, receiver: object): any {
56+
if (key === ReactiveFlags.SKIP) return target[ReactiveFlags.SKIP]
57+
5658
const isReadonly = this._isReadonly,
5759
isShallow = this._isShallow
5860
if (key === ReactiveFlags.IS_REACTIVE) {

0 commit comments

Comments
 (0)
Please sign in to comment.