Skip to content

Commit 9345f38

Browse files
authored
docs: remove "computed" from composable usage restrictions
1 parent bf12a6b commit 9345f38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/reusability/composables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ These restrictions are important because these are the contexts where Vue is abl
302302

303303
1. Lifecycle hooks can be registered to it.
304304

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.
306306

307307
:::tip
308308
`<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

Comments
 (0)