5 ms·
One of the up and coming React DnD projects is https://github.com/clauderic/dnd-kit https://github.com/clauderic/dnd-kit. It's still in beta, and the drag/drop
by JMTQp8lwXL 6y ago
One of the up and coming React DnD projects is https://github.com/clauderic/dnd-kit https://github.com/clauderic/dnd-kit. It's still in beta, and the drag/drop animations are rough around the edges, but it appears to be targeting an enterprise-grade set of features, including accessibility support.
Its core + plugin model will likely be the closest you can get to bundle size minimization.
Until the situation improves, for production, I use react-beautiful-dnd.
Long term, I think this might actually be a good problem to be solved in web components (e.g., using something like Stencil), then output targets for React, Svelte, Angular, etc can be generated.
- jimmy2020 6y agoReact kit is an implementation of Shopify's famous package: https://github.com/Shopify/draggable https://github.com/Shopify/draggable It's great but complicated with strict API. While react-beautiful-dnd is so React-ish. To manipulate DOM you need pure js with a solution can expose DOM elements to you because you probably need to do more than dragging an element on your layout.