-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Open
Labels
has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: reactivity🔩 p2-edge-case
Description
Vue version
Link to minimal reproduction
Steps to reproduce
- Create a set with Proxy, such as
ref(new Set([...])) - Call
Set#intersection
What is expected?
It shouldn't throw an error
What is actually happening?
It throws error: "Set operation called on non-Set object"
System Info
Vue: fd5c001
TypeScript: 5.5.3Any additional comments?
There is a workaround: toRaw(mySet.value).intersection does not throw error.
yamachu, michalmoc, lucaswerkmeister and naramdash
Metadata
Metadata
Assignees
Labels
has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: reactivity🔩 p2-edge-case