You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/reusability/composables.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -302,7 +302,7 @@ These restrictions are important because these are the contexts where Vue is abl
302
302
303
303
1. Lifecycle hooks can be registered to it.
304
304
305
-
2.Computed properties and watchers can be linked to it, so that they can be disposed when the instance is unmounted to prevent memory leaks.
305
+
2.Watchers can be linked to it, so that they can be disposed when the instance is unmounted to prevent memory leaks.
306
306
307
307
:::tip
308
308
`<script setup>` is the only place where you can call composables **after** using `await`. The compiler automatically restores the active instance context for you after the async operation.
0 commit comments