Concept Flow - Loading states for data
Component mounts
Start fetching data
Show loading state
Data fetch resolves
If success
→Show data
If error
→Show error message
User sees updated UI
When a component loads, it starts fetching data and shows a loading message. Once data arrives, it updates the UI or shows an error if fetching fails.
