8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
asyncData
1 parent c516774 commit e779d6cCopy full SHA for e779d6c
packages/nuxt/src/app/composables/asyncData.ts
@@ -727,9 +727,9 @@ function createAsyncData<
727
// TODO: disable in v4 in favour of custom caching strategies
728
if (purgeCachedData && !hasCustomGetCachedData) {
729
clearNuxtDataByKey(nuxtApp, key)
730
- nuxtApp._asyncData[key]!.execute = () => Promise.resolve()
+ asyncData.execute = () => Promise.resolve()
731
// TODO: remove when upgrading to v4
732
- nuxtApp._asyncData[key]!.data.value = asyncDataDefaults.value
+ asyncData.data.value = asyncDataDefaults.value
733
}
734
},
735
0 commit comments