mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: remove misleading reference to useFetch
(#26748)
This commit is contained in:
parent
b7ba3a4a80
commit
f0a81b21b0
@ -122,7 +122,7 @@ const { data, error } = await useAsyncData(`user:${id}`, () => {
|
||||
</script>
|
||||
```
|
||||
|
||||
The `useAsyncData` composable is a great way to wrap and wait for multiple `useFetch` to be done, and then retrieve the results of each.
|
||||
The `useAsyncData` composable is a great way to wrap and wait for multiple `$fetch` requests to be completed, and then process the results.
|
||||
|
||||
```vue
|
||||
<script setup lang="ts">
|
||||
|
Loading…
Reference in New Issue
Block a user