-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty reactive object doesn't have reactivity for new keys #580
Comments
It still doesn't work correctly, at least not in computed. |
Stale issue message |
I'm still experiencing the issue https://codesandbox.io/s/beautiful-feather-qrjq4n?file=/src/components/TestCase.vue |
Anybody got a solution for this? I need to create |
Hi everyone! I'm using latest vue2 + composition-api (beta18) and I have an empty reactivity object in my component :
later I set new props to this object using
set
:this should trigger changes and I'm expecting that my view will refresh, but it doesn't. So If I replace reactive by
ref({})
or initialize the reactive object with theprop
it does work as expected.sandbox example : https://codesandbox.io/s/late-river-lmze9
The text was updated successfully, but these errors were encountered: