Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: remove duplicate entry for default option (#4519)
Browse files Browse the repository at this point in the history
delete the duplicated `default` parameter description.
  • Loading branch information
Benbinbin authored Apr 22, 2022
1 parent 648a70e commit 28cf9fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/content/3.api/1.composables/use-async-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ type DataT = {
* _pick_: only pick specified keys in this array from the `handler` function result
* _watch_: watch reactive sources to auto-refresh
* _initialCache_: When set to `false`, will skip payload cache for initial fetch. (defaults to `true`)
* _default_: A function that returns the default value (before the handler function returns its value).
Under the hood, `lazy: false` uses `<Suspense>` to block the loading of the route before the data has been fetched. Consider using `lazy: true` and implementing a loading state instead for a snappier user experience.
Expand Down

0 comments on commit 28cf9fe

Please sign in to comment.