Skip to content

Commit fc26b2f

Browse files
committed
Add a clarifying comment to a watcher example
1 parent 7b7b4a9 commit fc26b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/watchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ We can force a watcher's callback to be executed immediately by passing the `imm
254254

255255
```js
256256
watch(source, (newValue, oldValue) => {
257-
// ...
257+
// executed immediately, then again when `source` changes
258258
}, { immediate: true })
259259
```
260260

0 commit comments

Comments
 (0)