News for hackers. Stuff that matters.
Re:Show HN: A cool Drag-and-Drop implementation for Svelte by JMTQp8lwXL on Tuesday January 12, 2021 @11:11AM (#25748771)
One of the up and coming React DnD projects is 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.

Re:Show HN: A cool Drag-and-Drop implementation for Svelte by jimmy2020 on Tuesday January 12, 2021 @11:30AM (#25749132)
React kit is an implementation of Shopify's famous package: 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.