You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to delete() the reactive object from the set. The item is not deleted.
What is expected?
The item should be deleted from the set.
What is actually happening?
The item is not deleted from the set.
The text was updated successfully, but these errors were encountered:
nmsmith
changed the title
[vue-reactivity] Proxied values are unwrapped during insertion into reactive sets, but not deletion
[@vue/reactivity] Proxied values are unwrapped during insertion into reactive sets, but not deletion
Jan 9, 2020
In collectionHandlers.ts, the add() function seems to unwrap the "value" before insertion, but the deleteEntry() does not unwrap the "key" (which for sets, is also the value). The issue may be caused by this asymmetrical handling: it seems these functions are supposed to be generic over both Sets and Maps?
underfin
added a commit
to underfin/vue-next
that referenced
this issue
Jan 9, 2020
Version
3.0.0-alpha.0
Reproduction link
https://jsfiddle.net/bn08c9rL/2/
Steps to reproduce
What is expected?
The item should be deleted from the set.
What is actually happening?
The item is not deleted from the set.
The text was updated successfully, but these errors were encountered: