docs: fix small typo (#4043)

This commit is contained in:
Vasily Kuzin 2022-04-04 09:51:58 +03:00 committed by GitHub
parent 89055f80ee
commit 7dfe800a52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ With Nuxt 3, you can perform this data fetching using composables in your `setup
You can now use `post` inside of your Nuxt 3 template, or call `refresh` to update the data. You can now use `post` inside of your Nuxt 3 template, or call `refresh` to update the data.
::alert{type=info} ::alert{type=info}
Despite the names, `useFetch` is not a direct replacement of the `fetch()` hook. Rather, `useAsyncData` replaces both hooks and is most customizable; it can do more than simply fetching data from an endpoint. `useFetch` is a convenience wrapper around `useAsyncData` for simply fetching data fromn an endpoint. Despite the names, `useFetch` is not a direct replacement of the `fetch()` hook. Rather, `useAsyncData` replaces both hooks and is most customizable; it can do more than simply fetching data from an endpoint. `useFetch` is a convenience wrapper around `useAsyncData` for simply fetching data from an endpoint.
:: ::
### Migration ### Migration