\n \u003C/NuxtLayout>\n \u003C/UApp>\n\u003C/template>\n\u003Cscript setup lang=\"ts\">\nimport { fr, en } from '@nuxt/ui/locale';\nconst locales = { fr, en };\nconst { t, locale } = useI18n();\n\u003C/script>\n```\nAnalyze your bundle:\n`npx nuxi analyze`\n\n### Description\n\nAs you can see, unused locales are still included in the bundle, while only Fr and En have been imported\n\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3043,3046],{"name":3044,"color":3045},"bug","d73a4a",{"name":3047,"color":3048},"v3","49DCB8",3602,"ui","i18n, Unused locales are included in the bundle","2025-03-18T14:19:38Z","https://github.com/nuxt/ui/issues/3602",0.665214,{"description":3056,"labels":3057,"number":3058,"owner":3022,"repository":3022,"state":3035,"title":3059,"updated_at":3060,"url":3061,"score":3062},"### Describe the feature\n\nWhen `useFetch` re-fetches (e.g. after a watched state changes), `data` is reset to `null` during the fetch. That causes visible flickering or full UI resets, even when only minor changes happen like pagination or filters.\n\nIn many apps, it's more useful to keep the previous data visible while the new request is in progress.\n\n## Suggested API\n\n```javascript\nconst { data } = await useFetch(\"/api/items\", {\n query: {\n 'page': page\n },\n watch: [page],\n preservePreviousData: true\n});\n```\nWhen preservePreviousData is true, data should hold the last successful value during the next fetch until the new result arrives.\n\n## Current workaround\n\nRight now, we have to manually store the previous data in a separate `ref` using `watch`, and use a `computed` to fall back to it when the current `data` is `null`. This adds boilerplate for a fairly common use case.\n\n\n### Additional information\n\n- [ ] 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).",[],31999,"[useFetch] Option to preserve previous data during refresh","2025-07-15T06:34:21Z","https://github.com/nuxt/nuxt/issues/31999",0.6779212,{"description":3064,"labels":3065,"number":3067,"owner":3022,"repository":3022,"state":3035,"title":3068,"updated_at":3069,"url":3070,"score":3071},"Some of my projects want to retrieve data for the first time when entering a request, and then make judgments. Every time I retrieve the data, I judge the value obtained, but he always cannot judge it normally. It seems that even after I wait, the data he retrieves seems to be asynchronous,\n\n```\nconst {data} = useFetch(\"url\")\nif(data.value.Code===1){\n\n\n\n}\n```",[3066],{"name":3019,"color":3020},32624,"Has anyone found any bugs in useFetch?","2025-07-16T16:08:49Z","https://github.com/nuxt/nuxt/issues/32624",0.67882586,{"labels":3073,"number":3083,"owner":3022,"repository":3022,"state":3035,"title":3084,"updated_at":3085,"url":3086,"score":3087},[3074,3077,3080],{"name":3075,"color":3076},"discussion","538de2",{"name":3078,"color":3079},"3.x","29bc7f",{"name":3081,"color":3082},"app","17512D",11742,"Improve `asyncData` API","2023-01-19T15:42:33Z","https://github.com/nuxt/nuxt/issues/11742",0.6805254,{"description":3089,"labels":3090,"number":3098,"owner":3022,"repository":3050,"state":3035,"title":3099,"updated_at":3100,"url":3101,"score":3102},"### Description\n\nHi, would be great to have a closeAll on the useOverlay. Usefull especially if you have 2+ overlays\n\n### Additional context\n\n_No response_",[3091,3094,3095],{"name":3092,"color":3093},"enhancement","a2eeef",{"name":3047,"color":3048},{"name":3096,"color":3097},"triage","ffffff",3953,"useOverlay closeAll","2025-04-25T13:04:04Z","https://github.com/nuxt/ui/issues/3953",0.6813105,{"labels":3104,"number":3111,"owner":3022,"repository":3022,"state":3035,"title":3112,"updated_at":3113,"url":3114,"score":3115},[3105,3107,3110],{"name":3092,"color":3106},"8DEF37",{"name":3108,"color":3109},"documentation","5319e7",{"name":3078,"color":3079},13386,"`useFetch` type return","2023-01-19T16:54:20Z","https://github.com/nuxt/nuxt/issues/13386",0.6840477,{"labels":3117,"number":3121,"owner":3022,"repository":3022,"state":3035,"title":3122,"updated_at":3123,"url":3124,"score":3125},[3118,3119,3120],{"name":3092,"color":3106},{"name":3075,"color":3076},{"name":3078,"color":3079},14333,"Allow preventing `useFetch`/`useAsyncData` from firing immediately","2023-01-19T17:33:50Z","https://github.com/nuxt/nuxt/issues/14333",0.68552047,{"description":3127,"labels":3128,"number":3131,"owner":3022,"repository":3050,"state":3035,"title":3132,"updated_at":3133,"url":3134,"score":3135},"### Description\n\nIt's shorter and can save traffic.\n\n### Additional context\n\n_No response_",[3129,3130],{"name":3092,"color":3093},{"name":3047,"color":3048},3250,"Use `foo-(--bar)` instead of `foo-[var(--bar)]` for tailwindcss classes","2025-02-07T10:24:17Z","https://github.com/nuxt/ui/issues/3250",0.68650913,["Reactive",3137],{},["Set"],["ShallowReactive",3140],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fjqVsyklLNTipMP1jCdqzBgBtG0JJ-hgFklbKAW50AYg":-1},"/nuxt/ui/3868"]