AntiPattern

State Update Semantics Mismatch

state-update-semantics-mismatch

State setters and reducers update the wrong shape or source of truth because middleware/handlers assume different semantics for set payloads, initial state, or pre-save snapshots, leading to stale/incomplete fields and broken change detection.