Skip to content

Commit 492e356

Browse files
Merge branch 'master' of github.com:vuejs/docs-next
2 parents 9649910 + 5bbf81d commit 492e356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/reactivity-computed-watchers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ In this example:
122122
- The count will be logged synchronously on initial run.
123123
- When `count` is mutated, the callback will be called **after** the component has updated.
124124

125-
Note the first run is executed before the component is mounted. So if you wish to access the DOM (or template refs) in a watched effect, do it in the mounted hook:
125+
Note the first run is executed before the component is mounted. So if you wish to access the DOM (or template refs) in a watched effect, do it in the `onMounted` hook:
126126

127127
```js
128128
onMounted(() => {

0 commit comments

Comments
 (0)