Concept Flow - Why stores manage shared state
Component A reads state
Component B reads state
Store holds shared state
Component A updates state
Store updates value
Component B reacts to update
UI stays in sync
Components read and update a shared store, which keeps the state consistent and syncs all components automatically.