unstale

npm / @dnd-kit/react

@dnd-kit/react

What changed in @dnd-kit/react 0.4 to 0.5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

4 breaking5 new APIs and options6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@dnd-kit/react 0.58 changes

New APIs and options 3

  • Accepts a disabled object to disable dragging and dropping independently, while preserving the existing boolean behavior.

    0.5.0release notes

  • Accepts a disabled object to disable dragging and dropping independently, while preserving the existing boolean behavior.

    0.5.0release notes

  • Accepts a disabled object to disable dragging and dropping independently, while preserving the existing boolean behavior.

    0.5.0release notes

Fixes and other changes 5

  • Draggable, droppable, or sortable properties first read on a later render now update correctly; subscriptions persist across view updates, and getters returning new objects no longer cause update loops.

    0.5.1release notes

  • Sortable bindings now preserve an explicit null transition instead of replacing it with the default, so sortable items stop animating when transition is null; partial transitions still merge with defaults.

    0.5.1release notes

  • Published packages now include sourcemap files referenced by bundle comments, preventing bundlers from failing to load them with ENOENT.

    0.5.0release notes

  • Inline sensors arrays are compared with deepEqual, preventing unnecessary entity mutations and plugin-registry changes that could disrupt in-progress sensor activation.

    0.5.0release notes

  • Inline sensors arrays are compared with deepEqual, preventing unnecessary entity mutations and plugin-registry changes that could disrupt in-progress sensor activation.

    0.5.0release notes

@dnd-kit/react 0.47 changes

Breaking changes 4

  • Provides event-name-to-handler-signature types, replacing DragDropEvents when typing event handlers. Import it from @dnd-kit/abstract.

    0.4.0release notes

  • Provides event-name-to-event-object types, replacing DragDropEvents when typing event objects. Import it from @dnd-kit/abstract.

    0.4.0release notes

  • The re-export from @dnd-kit/react has been removed; use DragDropEventMap or DragDropEventHandlers from @dnd-kit/abstract instead.

    0.4.0release notes

  • Configure feedback through the Feedback plugin instead of the draggable or sortable hook input.

    0.4.0release notes

New APIs and options 2

  • Drop animation can be configured per-draggable through Feedback plugin configuration.

    0.4.0release notes

  • Draggable entities accept per-entity plugin configuration using the existing Plugin.configure() pattern; listed plugins are auto-registered on the manager if needed.

    0.4.0release notes

Fixes and other changes 1

  • Defers synchronous re-rendering to a microtask when signal updates occur within a React effect, avoiding flushSync during a React lifecycle method.

    0.4.0release notes