Concept Flow - State machines with composables
Define states and transitions
Create composable function
Initialize current state
Expose state and transition function
Component uses composable
User triggers event
Transition function checks event
Update current state if valid
Component re-renders with new state
This flow shows how a Vue composable manages states and transitions in a state machine, updating the component reactively.