Annotation for watching changes to a property and a getter
@watch by default unwraps boxed observables, arrays, sets, and maps — meaning it uses shallow comparison.
If you don't want this behavior, use @watch.ref instead.
@observable and @computed (and their variants) are automatically assumed to be @watched,
unless @unwatch or @unwatch.ref is specified.
@nested (and its variants) are considered @watched unless @unwatch is specified.
If @watch and @watch.ref are specified for the same key (in the same inheritance chain),
the last annotation prevails.
Annotation for watching changes to a property and a getter
@watchby default unwraps boxed observables, arrays, sets, and maps — meaning it uses shallow comparison. If you don't want this behavior, use@watch.refinstead.@observableand@computed(and their variants) are automatically assumed to be@watched,unless
@unwatchor@unwatch.refis specified.@nested(and its variants) are considered@watchedunless@unwatchis specified.@watchand@watch.refare specified for the same key (in the same inheritance chain),the last annotation prevails.