//Sets data to store in useAsyncData\r\n {{ store.data }} //Initial value instead of data there\r\n \u003Cmy-component-that-rely-on-store/> //Reactivity is lost for this guy\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\nThe reason behind this as I understand looks like this:\r\n\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n \u003Cslot/> //Inits useAsyncData, leaves to separate flow after first await\r\n {{ store.data }} //Would be valid, if would not initiated on async\r\n \u003Cmy-component-that-rely-on-store/> //useAsyncData has been called, but not completed\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\n## Solution\r\n\r\n### New (probably SSR-only) hook\r\n\r\nInproduce new hook, that will fire after all asyncDatas will be completed and most of components rendered\r\n\r\n### New component\r\n\r\nThe name could be like `\u003Cnuxt-server-rendered>`, `\u003Cnuxt-server-init>`, e.t.c.\r\n\r\nComponent will rely on this new hook and could use `onServerPrefetch` under-the-hood. Then it could be used like this:\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n \u003Cslot/> //Inits useAsyncData, leaves to separate flow after first await\r\n \u003Cnuxt-server-rendered>\r\n {{ store.data }} //Valid data\r\n \u003Cmy-component-that-rely-on-store/> //Valid data\r\n \u003C/nuxt-async-resolve>\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\nIt will also resolve reactivity problems with parent components, and not only async problems, the problem that was described in issues/discussion above.\r\n\r\n## Pure implementation\r\n\r\nI've tried to implement this by myself using this:\r\n\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cslot/>\r\n\u003C/template>\r\n\r\n\u003Cscript lang=\"ts\" setup>\r\nonServerPrefetch(async () => {\r\n await Promise.allSettled(Object.values(toValue(app._asyncDataPromises)));\r\n});\r\n\u003C/script>\r\n```\r\n\r\nThis solution is not good actually, but it goes as workaround with limitations:\r\n- I have no guarantee that _asyncDataPromises are complete on this stage\r\n- I can only use this component after page's \u003Cslot>, therefore I currently can't use it with components above page, e.g. header\r\n- It does not rely on render or anything like that (if that's even possible at all in current SSR implementation)\r\n\r\nI could try to implement this myself, if this looks valid, but I'm not sure I can do that with my limited knowlenge of Nuxt's internals. \n\n### Additional information\n\n- [X] Would you be willing to help implement this feature?\n- [ ] Could this feature be implemented as a module?\n\n### Final checks\n\n- [X] Read the [contribution guide](https://nuxt.com/docs/community/contribution).\n- [X] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[2904],{"name":2905,"color":2906},"pending triage","E99695",25316,"nuxt","open","Allow to await for useAsyncData in template","2024-06-30T11:06:12Z","https://github.com/nuxt/nuxt/issues/25316",0.6557643,{"labels":2915,"number":2920,"owner":2908,"repository":2908,"state":2921,"title":2922,"updated_at":2923,"url":2924,"score":2925},[2916,2917],{"name":2905,"color":2906},{"name":2918,"color":2919},"2.x","d4c5f9",6981,"closed","asyncData not working/not called in page component","2023-01-22T15:34:48Z","https://github.com/nuxt/nuxt/issues/6981",0.6268511,{"labels":2927,"number":2933,"owner":2908,"repository":2908,"state":2921,"title":2934,"updated_at":2935,"url":2936,"score":2937},[2928,2931,2932],{"name":2929,"color":2930},"stale","ffffff",{"name":2905,"color":2906},{"name":2918,"color":2919},6585,"asyncData unexpectedly recovers initial value of data","2023-01-22T15:34:46Z","https://github.com/nuxt/nuxt/issues/6585",0.6594135,{"labels":2939,"number":2942,"owner":2908,"repository":2908,"state":2921,"title":2943,"updated_at":2944,"url":2945,"score":2946},[2940,2941],{"name":2905,"color":2906},{"name":2918,"color":2919},8393,"Update meta title with Asyncdata not work on generated","2023-01-22T15:38:24Z","https://github.com/nuxt/nuxt/issues/8393",0.66335195,{"labels":2948,"number":2951,"owner":2908,"repository":2908,"state":2921,"title":2952,"updated_at":2953,"url":2954,"score":2955},[2949,2950],{"name":2905,"color":2906},{"name":2918,"color":2919},6004,"asyncData not updating correctly using watchQuery (HMR, dev mode)","2024-06-30T09:26:18Z","https://github.com/nuxt/nuxt/issues/6004",0.66428596,{"labels":2957,"number":2960,"owner":2908,"repository":2908,"state":2921,"title":2961,"updated_at":2962,"url":2963,"score":2964},[2958,2959],{"name":2905,"color":2906},{"name":2918,"color":2919},10496,"layout folder default.vue asyncData don't working","2023-01-22T15:48:28Z","https://github.com/nuxt/nuxt/issues/10496",0.6648172,{"description":2966,"labels":2967,"number":2970,"owner":2908,"repository":2908,"state":2921,"title":2971,"updated_at":2972,"url":2973,"score":2974},"### Version\n\n[v2.5.1](https://github.com/nuxt.js/releases/tag/v2.5.1)\n\n### Reproduction link\n\n[https://codesandbox.io/s/13v2po80j4](https://codesandbox.io/s/13v2po80j4)\n\n### Steps to reproduce\n\nUpdate browser and please check the terminal\n\n### What is expected ?\n\nIs output as 'asyncData' and 'fetch' on terminal\n\n### What is actually happening?\n\nNot output\n\n### Additional comments?\n\nI refferd to [Official TypeScript support](https://nuxtjs.org/examples/typescript)\nSorry for the poor English\n\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This bug report is available on \u003Ca href=\"https://cmty.app/nuxt\">Nuxt\u003C/a> community (\u003Ca href=\"https://cmty.app/nuxt/nuxt.js/issues/c8892\">#c8892\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2968,2969],{"name":2905,"color":2906},{"name":2918,"color":2919},5330,"asyncData and fetch is not working on TypeScript","2023-01-22T15:33:04Z","https://github.com/nuxt/nuxt/issues/5330",0.66671014,{"labels":2976,"number":2978,"owner":2908,"repository":2908,"state":2921,"title":2979,"updated_at":2980,"url":2981,"score":2982},[2977],{"name":2918,"color":2919},6391,"asyncData do not work in layout whitch has two \u003Cnuxt/>","2023-01-18T21:49:13Z","https://github.com/nuxt/nuxt/issues/6391",0.6673319,{"labels":2984,"number":2987,"owner":2908,"repository":2908,"state":2921,"title":2988,"updated_at":2989,"url":2990,"score":2991},[2985,2986],{"name":2905,"color":2906},{"name":2918,"color":2919},10361,"Dynamic loaded Async component event listener not work on SSR first rendered","2024-06-30T09:25:18Z","https://github.com/nuxt/nuxt/issues/10361",0.6683651,{"description":2993,"labels":2994,"number":2998,"owner":2908,"repository":2908,"state":2921,"title":2999,"updated_at":3000,"url":3001,"score":3002},"### Version\n\n[v2.4.5](https://github.com/nuxt.js/releases/tag/v2.4.5)\n\n### Reproduction link\n\n[https://github.com/webspilka/nuxt-dynamic-route-bug](https://github.com/webspilka/nuxt-dynamic-route-bug)\n\n### Steps to reproduce\n\ngo to /cars\n-> cars/page/2 - its works for all pages except 1\n-> /cars - nuxt-link not reload page with it data. It change only URL\n\n### What is expected ?\n\nReload page 1 with load new asyncData, when click at nuxt-link\n\n### What is actually happening?\n\nСlick at page N in pagination works well except page 1\nСlick at page 1 nuxt-link /car change only URL, but Data not reloads\n\n\n### Additional comments?\n\nAdvise what can be done, otherwise I don’t even know what direction to look.\naddition look at https://github.com/webspilka/nuxt-dynamic-route-bug or https://codesandbox.io/s/github/webspilka/nuxt-dynamic-route-bug/tree/master/\n\n\n\n\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This bug report is available on \u003Ca href=\"https://cmty.app/nuxt\">Nuxt\u003C/a> community (\u003Ca href=\"https://cmty.app/nuxt/nuxt.js/issues/c8846\">#c8846\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2995,2996,2997],{"name":2929,"color":2930},{"name":2905,"color":2906},{"name":2918,"color":2919},5257,"Nuxt-link to dynamic children route not reload asyncData on client","2023-01-22T15:33:01Z","https://github.com/nuxt/nuxt/issues/5257",0.67019445,["Reactive",3004],{},["Set"],["ShallowReactive",3007],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f7B0hFUU897WSxReWv-kC6vN-8wYVfa9Q8c9ednA8wos":-1},"/nuxt/nuxt/3401"]