vue3-yuanma/packages/runtime-core/__tests__/components
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
..
__snapshots__ refactor: make portal tree-shakeable 2020-02-15 17:44:37 -05:00
BaseTransition.spec.ts test(transition): test usage with KeepAlive 2019-11-28 12:16:42 -05:00
KeepAlive.spec.ts test: wip tests for BaseTransition 2019-11-26 18:07:05 -05:00
Portal.spec.ts refactor: make portal tree-shakeable 2020-02-15 17:44:37 -05:00
Suspense.spec.ts refactor(watch): adjsut watch API behavior 2020-02-17 23:16:58 -05:00