Javascript – Vue computed prop change not being reflected in component if value references same object
example store: const trigger = ref(true); const prop = computed(() => { trigger.value; console.log('comp prop run'); // works! return some_big_object; }); const doChange = () => { some_big_object[5000].text = 'abc'; trigger.value = !trigger.value; } return { prop, doChange } in…