Can't set new reactive key using 'set' function asynchronously
setup(){
const a = reactive({})
// set(a, 'testValue', 1) // worked
setTimeout(() => {
set(a, 'testValue', 2) // not worked
})
return {
...toRefs(a)
}
}
i have the same problem.
Stale issue message
@bigggge @jelle-r Can you provide me a minimal reproducible example? How do this code perform on vue 3?
I am not able to provide an example anymore, since we moved to the vue3 stack in the meantime.
It may be related to #580
Test case: https://codesandbox.io/s/beautiful-feather-qrjq4n?file=/src/components/TestCase.vue (computed property not updated)
Stale issue message
not stale
Stale issue message
not stale
Stale issue message
Not stale
Stale issue message