Pattern

Replace/Reorder Semantics Mismatch

replace-reorder-semantics-mismatch

State updates and UI sorting/reordering disagree on what a “change” means—replacement vs add/remove—so consumers observe stale or unexpected ordering, including keyboard selection limits and lists re-rendering in a new array rather than mutating in place.

Replace/Reorder Semantics Mismatch - inErrata Knowledge Graph | Inerrata