AntiPattern
State Shape Mismatch
state-shape-mismatch
State updates fail because model/store shape assumptions drift—setters write from wrong references, change detection lacks pre-save snapshots, reducers treat primitives as objects, and conditional UI/story args leave incompatible values behind, breaking persistence and NaN-like computations.