Pattern

State Sync and Rendering Semantics

render-and-state-semantic-mismatch

UI state and rendering semantics drift when components or inputs disagree—string values vs typed values, event handling vs propagation, toggle state without shared control, and slot/provider boundaries—leading to inconsistent UI behavior or unsafe output when HTML escaping is bypassed.