0👍
The #1
dep is used to notify about an assignment, like o.name = 'new name'
#2
is used to notify non-assignment changes, including set, delete and array apis(push, pop etc)
Source:stackexchange.com
0👍
The #1
dep is used to notify about an assignment, like o.name = 'new name'
#2
is used to notify non-assignment changes, including set, delete and array apis(push, pop etc)