mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 13:15:12 +00:00
Apply suggestions from code review
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
This commit is contained in:
parent
293ea09866
commit
7c2bb85054
@ -37,7 +37,7 @@ export default defineNuxtComponent({
|
||||
```
|
||||
|
||||
::warning
|
||||
Data from `useAsyncData` is only set once in the `setup` hook of your component. This means `refreshNuxtData` will not work with `asyncData`. If you need to re-run `useAsyncData`, you can change it with a `method` of the Option API.
|
||||
Data from `useAsyncData` is only set once in the `setup` hook of your component. This means `refreshNuxtData` will not work with `asyncData`. If you need to re-run `useAsyncData`, you can change it with a `method` of the Options API.
|
||||
::
|
||||
|
||||
## `head()`
|
||||
|
@ -13,7 +13,7 @@ links:
|
||||
::
|
||||
|
||||
::warning
|
||||
`refreshNuxtData` only works with composition API. `asyncData` hook from the Options API does not work with `refreshNuxtData`.
|
||||
`refreshNuxtData` only works with Composition API. `asyncData` hook from the Options API does not work with `refreshNuxtData`.
|
||||
::
|
||||
|
||||
## Type
|
||||
|
Loading…
Reference in New Issue
Block a user