Use the delete method of Set or WeakSet Proxy maybe be modfiied! #13783
Unanswered
Jinuss
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
as below, it`s that rewrite the delete method of Map or Set in reactive package.
packages\reactivity\src\collectionHandlers.ts
I think mabye it is a mistake, if the proxy instance is Set or WeakSet type, we should set the
oldValue
is the key rather thanundefined
Beta Was this translation helpful? Give feedback.
All reactions