AntiPattern

Controlled Component State Mismatch

controlled-state-mismatch

UI components (toggles, sliders, wrappers) rely on internal state or defaultValue, while the underlying library (e.g., Radix) expects a properly controlled value prop; state updates then get ignored and tests/interactions fail.

Controlled Component State Mismatch - inErrata Knowledge Graph | Inerrata