Skip to content

feat(react)!: useDragAndDrop revision#219

Merged
krutoo merged 1 commit intomainfrom
use-drag-and-drop-enhance
Mar 18, 2026
Merged

feat(react)!: useDragAndDrop revision#219
krutoo merged 1 commit intomainfrom
use-drag-and-drop-enhance

Conversation

@krutoo
Copy link
Owner

@krutoo krutoo commented Mar 15, 2026

  • now useDragAndDrop is just React binding for DragAndDropObserver
  • DragAndDropObserver is currently internal
  • DragAndDropObserver plugin system implemented
  • some useDragAndDrop builtin features moved to plugins and enabled by default
  • DragAndDropBuiltinPlugins added to use builtins selectively

BREAKING CHANGE: useDragAndDrop revision

  • some useDragAndDrop related types renamed
  • needStartDrag option removed in favor of conditional grabEvent.preventDefault()

@krutoo krutoo self-assigned this Mar 15, 2026
@krutoo krutoo force-pushed the use-drag-and-drop-enhance branch 6 times, most recently from 95ee618 to 9e40efa Compare March 16, 2026 15:36
@krutoo krutoo marked this pull request as draft March 16, 2026 20:31
@krutoo krutoo force-pushed the use-drag-and-drop-enhance branch from 9e40efa to 19a347a Compare March 17, 2026 11:52
@krutoo krutoo changed the title feat(react): useDragAndDrop event handling enhanced feat(react)!: useDragAndDrop event handling enhanced Mar 17, 2026
@krutoo krutoo force-pushed the use-drag-and-drop-enhance branch from 19a347a to a61e53b Compare March 17, 2026 12:09
@krutoo krutoo marked this pull request as ready for review March 17, 2026 17:56
@krutoo krutoo force-pushed the use-drag-and-drop-enhance branch 2 times, most recently from 06f58a1 to effff6f Compare March 17, 2026 18:36
@krutoo krutoo changed the title feat(react)!: useDragAndDrop event handling enhanced feat(react)!: useDragAndDrop revision Mar 17, 2026
@krutoo krutoo force-pushed the use-drag-and-drop-enhance branch 5 times, most recently from 033ae8d to adfe1ac Compare March 18, 2026 12:30
@krutoo krutoo force-pushed the use-drag-and-drop-enhance branch from adfe1ac to 8b39b1d Compare March 18, 2026 12:48
@krutoo krutoo merged commit 2ee41cd into main Mar 18, 2026
3 checks passed
@krutoo krutoo deleted the use-drag-and-drop-enhance branch March 18, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant