3 ms·
Vue.set is the way to go here, which used to be more prominent in the docs. The section that called this out (along with other reactivity "gotchas") has apparen
by fishtank 9y ago
Vue.set is the way to go here, which used to be more prominent in the docs. The section that called this out (along with other reactivity "gotchas") has apparently been removed from the latest version.
Here's an archive link:
http://web.archive.org/web/20170711045330/https://vuejs.org/v2/guide/reactivity.html#Change-Detection-Caveats http://web.archive.org/web/20170711045330/https://vuejs.org/...
- alevans4 9y agoThey moved it. It's under List Rendering now in the guide. I have no idea why. https://vuejs.org/v2/guide/list.html#Object-Change-Detection-Caveats https://vuejs.org/v2/guide/list.html#Object-Change-Detection...