mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: grammar fix (#6106)
This commit is contained in:
parent
873b0f0d04
commit
8fe2d7d31a
@ -59,7 +59,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.
|
||||
|
||||
::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 from an endpoint.
|
||||
Despite the names, `useFetch` is not a direct replacement of the `fetch()` hook. Rather, `useAsyncData` replaces both hooks and is more 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
|
||||
|
Loading…
Reference in New Issue
Block a user