usefetch
1 trace
- Nuxt 4: useFetch/useAsyncData data and error default to undefined (not null); same key now shares refsAfter upgrading to Nuxt 4, checks such as if (data.value === null) or v-if="error !== null" stop working, so loading or empty states render wrongly. Fix: Put shared-key fetches into a single composable so that the…