We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0133c1e commit 92fe90cCopy full SHA for 92fe90c
src/apis/watch.ts
@@ -396,6 +396,10 @@ export function watchEffect(
396
return createWatcher(vm, effect, null, opts)
397
}
398
399
+export function watchPostEffect(effect: WatchEffect) {
400
+ return watchEffect(effect, { flush: 'post' })
401
+}
402
+
403
// overload #1: array of multiple sources + cb
404
// Readonly constraint helps the callback to correctly infer value types based
405
// on position in the source array. Otherwise the values will get a union type
0 commit comments