Evan You 09702e95b9 fix(runtime-core/scheduler): only allow watch callbacks to be self-triggering
fix #1740

Previous fix for #1727 caused `watchEffect` to also recursively trigger
itself on reactive array mutations which implicitly registers array
`.length` as dependencies and mutates it at the same time.

This fix limits recursive trigger behavior to only `watch()` callbacks
since code inside the callback do not register dependencies and
mutations are always explicitly intended.
2020-07-30 17:57:20 -04:00
..
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00
2020-07-28 17:42:05 -04:00