const thing = computed(() => {
if (...) {
props.task.prop = {...};
emit("update");
}
});props.task.someArray.push(...)
emit("update")modelValue prop and update:modelValue event, which can nicely be used via v-model. The colleague didn't do that, of course. He added a prop like task and an event like update (without any parameters), and then he mutated the task prop directly. THIS IS NOT WHAT YOU SHOULD DO, EVER