Concept Flow - API routes vs server actions decision
Start: User triggers data operation
Decision: Use API Route or Server Action?
API Route chosen
Client calls API
API Route runs
Response sent
Client updates UI
End
This flow shows how a user-triggered data operation leads to choosing between API routes or server actions, then how each path processes and updates the UI.