We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
flush: sync
1 parent a2e2ced commit 573bfb0Copy full SHA for 573bfb0
packages/core/computedAsync/index.ts
@@ -42,7 +42,7 @@ export interface AsyncComputedOptions<Lazy = boolean> {
42
* Possible values: `pre`, `post`, `sync`
43
*
44
* It works in the same way as the flush option in watch and watch effect in vue reactivity
45
- * @default 'pre'
+ * @default 'sync'
46
*/
47
flush?: 'pre' | 'post' | 'sync'
48
@@ -98,7 +98,7 @@ export function computedAsync<T>(
98
99
const {
100
lazy = false,
101
- flush = 'pre',
+ flush = 'sync',
102
evaluating = undefined,
103
shallow = true,
104
onError = globalThis.reportError ?? noop,
0 commit comments