Skip to content

Commit

Permalink
docs: grammar fix (nuxt#6106)
Browse files Browse the repository at this point in the history
  • Loading branch information
king-11 authored Jul 25, 2022
1 parent 873b0f0 commit 8fe2d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/migration/7.component-options.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8fe2d7d

Please sign in to comment.