diff --git a/docs/content/3.api/1.composables/use-async-data.md b/docs/content/3.api/1.composables/use-async-data.md index 748baa1cef..d6d407aa45 100644 --- a/docs/content/3.api/1.composables/use-async-data.md +++ b/docs/content/3.api/1.composables/use-async-data.md @@ -38,7 +38,7 @@ type AsyncData = { * **key**: a unique key to ensure that data fetching can be properly de-duplicated across requests. If you do not provide a key, then a key that is unique to the file name and line number of the instance of `useAsyncData` will be generated for you. * **handler**: an asynchronous function that returns a value * **options**: - * _lazy_: whether to resolve the async function after loading the route, instead of blocking navigation (defaults to `false`) + * _lazy_: whether to resolve the async function after loading the route, instead of blocking client-side navigation (defaults to `false`) * _default_: a factory function to set the default value of the data, before the async function resolves - particularly useful with the `lazy: true` option * _server_: whether to fetch the data on the server (defaults to `true`) * _transform_: a function that can be used to alter `handler` function result after resolving @@ -55,7 +55,11 @@ Under the hood, `lazy: false` uses `` to block the loading of the rout * **refresh**: a function that can be used to refresh the data returned by the `handler` function * **error**: an error object if the data fetching failed -By default, Nuxt waits until a `refresh` is finished before it can be executed again. Passing `true` as parameter skips that wait. +By default, Nuxt waits until a `refresh` is finished before it can be executed again. + +::alert{type=warning} +If you have not fetched data on the server (for example, with `server: false`), then the data _will not_ be fetched until hydration completes. This means even if you await `useAsyncData` on the client side, `data` will remain `null` within `