Concept Flow - Why events drive user interaction
User action: click, input, etc.
Browser detects event
Svelte event listener triggers
Event handler function runs
State or UI updates
Browser re-renders affected parts
User sees updated UI
Cycle repeats on next user action
This flow shows how a user's action creates an event that Svelte listens to, runs code, updates the UI, and then waits for the next action.