Skip to content

Commit 4535b1b

Browse files
committed
chore: remove outdated options
1 parent 11727b9 commit 4535b1b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/reactivity/src/effect.ts

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export interface ReactiveEffect<T = any> {
2121

2222
export interface ReactiveEffectOptions {
2323
lazy?: boolean
24-
computed?: boolean
2524
scheduler?: (job: ReactiveEffect) => void
2625
onTrack?: (event: DebuggerEvent) => void
2726
onTrigger?: (event: DebuggerEvent) => void

packages/runtime-core/src/apiWatch.ts

-2
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,6 @@ function doWatch(
275275

276276
const runner = effect(getter, {
277277
lazy: true,
278-
// so it runs before component update effects in pre flush mode
279-
computed: true,
280278
onTrack,
281279
onTrigger,
282280
scheduler: applyCb ? () => scheduler(applyCb) : scheduler

0 commit comments

Comments
 (0)