Skip to content

Commit e2d60de

Browse files
authored
Update reactivity-computed-watchers.md (#647)
1 parent 6515388 commit e2d60de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/reactivity-computed-watchers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ The `flush` option also accepts `'sync'`, which forces the effect to always trig
144144

145145
The `onTrack` and `onTrigger` options can be used to debug a watcher's behavior.
146146

147-
- `onTrack` will be called when a reactive property or ref is tracked as a dependency
148-
- `onTrigger` will be called when the watcher callback is triggered by the mutation of a dependency
147+
- `onTrack` will be called when a reactive property or ref is tracked as a dependency.
148+
- `onTrigger` will be called when the watcher callback is triggered by the mutation of a dependency.
149149

150150
Both callbacks will receive a debugger event which contains information on the dependency in question. It is recommended to place a `debugger` statement in these callbacks to interactively inspect the dependency:
151151

0 commit comments

Comments
 (0)