vue3-yuanma/packages
Evan You 9571ede84b refactor(watch): adjsut watch API behavior
BREAKING CHANGE: `watch` behavior has been adjusted.

    - When using the `watch(source, callback, options?)` signature, the
      callback now fires lazily by default (consistent with 2.x
      behavior).

      Note that the `watch(effect, options?)` signature is still eager,
      since it must invoke the `effect` immediately to collect
      dependencies.

    - The `lazy` option has been replaced by the opposite `immediate`
      option, which defaults to `false`. (It's ignored when using the
      effect signature)

    - Due to the above changes, the `watch` option in Options API now
      behaves exactly the same as 2.x.

    - When using the effect signature or `{ immediate: true }`, the
      intital execution is now performed synchronously instead of
      deferred until the component is mounted. This is necessary for
      certain use cases to work properly with `async setup()` and
      Suspense.

      The side effect of this is the immediate watcher invocation will
      no longer have access to the mounted DOM. However, the watcher can
      be initiated inside `onMounted` to retain previous behavior.
2020-02-17 23:16:58 -05:00
..
compiler-core chore: fix hoistStatic exhaustive check 2020-02-14 16:41:55 -05:00
compiler-dom wip(ssr): adjust event hydration flag 2020-02-13 18:28:40 -05:00
compiler-sfc test: test updates for d40c642 2020-02-11 18:40:42 -05:00
compiler-ssr chore: fix snapshots 2020-02-15 11:10:52 -05:00
reactivity fix(reactivity): avoid cross-component dependency leaks in setup() 2020-02-17 23:14:07 -05:00
runtime-core refactor(watch): adjsut watch API behavior 2020-02-17 23:16:58 -05:00
runtime-dom types: cleanup renderer & hydration typing 2020-02-14 12:33:32 -05:00
runtime-test release: v3.0.0-alpha.4 2020-01-27 16:20:00 -05:00
server-renderer refactor: make portal tree-shakeable 2020-02-15 17:44:37 -05:00
shared chore: use consistent signature for shared utilities 2020-02-17 14:43:16 -05:00
size-check chore: use more representative size check code 2020-01-30 12:03:38 -05:00
template-explorer refactor(compiler): prefix all imported helpers to avoid scope collision 2020-02-07 18:53:39 -05:00
vue chore: mark main package side-effects free 2020-02-15 12:02:00 -05:00
global.d.ts build: avoid runtime wildcard import in global build 2020-02-13 18:50:36 -05:00