Concept Flow - Nuxt data fetching (useFetch, useAsyncData)
Component Setup
Call useFetch or useAsyncData
Start Data Fetching
Wait for Promise
Success
→Store Data in Reactive State
Component Renders with Data
Error
→Store Error State
Component Renders with Error
The component calls useFetch or useAsyncData to start fetching data asynchronously, waits for the result, then stores the data or error in reactive state for rendering.