79657714

Date: 2025-06-08 09:41:06
Score: 1
Natty:
Report link

What I do in these occasions:

arrayWithObjects.forEach(myObject => watch(
    () => myObject.myProperty,
    () => {
        ...
    },
));

I don't know if it's too expensive but this way I know which item of the array has been modified and I can act on it directly. With the deep option I haven't been able to do it without iterating over the entire array.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What I
  • Low reputation (1):
Posted by: Natàlia