Commit History

Author SHA1 Message Date
  edison ec8fd10cec fix(runtime-core): instanceWatch should pass `this.proxy` to source as the first argument (#2753) 5 years ago
  Thorsten Lünborg 735af1c7b7 fix(runtime-core): ensure watchers are always registered to correct instance owner (#2495) 5 years ago
  Evan You 390589ec6d fix(reactivity): should not trigger watch on computed ref when value is unchanged 5 years ago
  Evan You 49bb44756f refactor: watch APIs default to trigger pre-flush 5 years ago
  Evan You 3810de7d6b fix(reactivity): effect shoud only recursively self trigger with explicit options 5 years ago
  Yang Mingshan 10293c7a18 fix(watch): traverse refs in deep watch (#1939) 5 years ago
  Evan You 7454e2a52b build(deps): upgrade to TypeScript 4 5 years ago
  Evan You 223f180529 test(watch): add same value skipping trigger test 5 years ago
  HcySunYang caccec3f78 fix(runtime-core/scheduler): sort postFlushCbs to ensure refs are set before lifecycle hooks (#1854) 5 years ago
  Evan You a0e34cee4a fix(watch): exhaust pre-flush watchers + avoid duplicate render by pre-flush watchers 5 years ago
  Evan You d4c17fb48b fix(watch): pre-flush watcher watching props should trigger before component update 5 years ago
  Evan You fce2689ff1 fix(watch): should trigger watcher callback on triggerRef when watching ref source 5 years ago
  Evan You 5c74243211 test: move mockWarn into setup files 5 years ago
  Tan Li Hau 288b4eab9e fix(watch): fix watching reactive array (#1656) 5 years ago
  Carlos Rodrigues 8facaefcc3 fix(watch): callback not called when using `flush:sync` (#1633) 5 years ago
  Evan You 341b30c961 fix(watch): post flush watchers should not fire when component is unmounted 5 years ago
  Yang Mingshan ba62ccd55d feat(watch): support directly watching reactive object in multiple sources with deep default (#1201) 6 years ago
  Evan You 6b33cc4229 feat(watch): support directly watching reactive object with deep default 6 years ago
  Carlos Rodrigues 99fd158d09 fix(watch): fix deep watchers on refs containing primitives (#984) 6 years ago
  Yang Mingshan 14908f2734 chore: prefer const (#865) 6 years ago
  djy0 19a799c28b fix(runtime-core): make watchEffect ignore deep option (#765) 6 years ago
  Evan You 99a2e18c97 feat(runtime-core): add watchEffect API 6 years ago
  Evan You 9571ede84b refactor(watch): adjsut watch API behavior 6 years ago
  Evan You c6a9787941 fix(types): ensure correct oldValue typing based on lazy option 6 years ago
  Eduardo San Martin Morote 5742a0b826 fix(runtime-core/watch): trigger watcher with undefined as initial value (#687) 6 years ago
  Evan You 2569890e31 refactor: move mockWarn utility to @vue/shared 6 years ago
  Rustin 787ac5f74e test(runtime-core): modify test case to set different value (#620) 6 years ago
  Evan You 3deb20df63 feat(watch): warn when using lazy with simple callback 6 years ago
  Yang Mingshan c2c9c2b57e fix(watch): ignore lazy option in simple watch (#546) 6 years ago
  Evan You 89a187b895 refactor(reactivity): separate track and trigger operation types 6 years ago