Concept Flow - Composable for API calls (useFetch pattern)
Component calls useFetch
useFetch starts: set loading=true
Send fetch request
Wait for response
If success: set data, loading=false
If error: set error, loading=false
Component reacts to data/error changes
The component calls the composable, which starts loading and sends a fetch request. When the response arrives, it updates data or error and stops loading. The component updates accordingly.