Skip to content

Commit 73ea57a

Browse files
authored
Improve clarity of a sentence in the "Lifecycle Hooks" section of the docs (#1597)
* Update lifecycle.md * Update lifecycle.md
1 parent ce74774 commit 73ea57a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ setTimeout(() => {
5151
}, 100)
5252
```
5353

54-
Do note this doesn't mean that the call must be placed lexically inside `setup()` or `<script setup>` - `onMounted()` can be called in an external function as long as the call stack is synchronous and originates from within `setup()`.
54+
Do note this doesn't mean that the call must be placed lexically inside `setup()` or `<script setup>`. `onMounted()` can be called in an external function as long as the call stack is synchronous and originates from within `setup()`.
5555

5656
</div>
5757

0 commit comments

Comments
 (0)