Utilities
See Handling drops for how to choose between them.
moveItem
Moves the item between (or within) signal-based lists, keyed by droppable ID. Same-list drops are delegated to reorderItems. If either droppable ID is missing from lists, or the source item does not exist, nothing happens and a warning is logged in dev mode.
reorderItems
Reorders a single signal-based list. Use it for same-list drops only. If the source item does not exist (for example, the list changed during the drag), nothing happens and a warning is logged in dev mode.
applyMove
Immutable version for stores. Returns a shallow copy of lists with new arrays for the source and destination. If the source item does not exist, it returns a shallow copy with the original arrays.
isNoOpDrop
true when the source and destination droppable and index are equal, meaning the item was dropped where it started.
insertAt / removeAt
Return new arrays; the input is not modified.