Building with Stencil: Drag-and-Drop Components

Originally published at: Building with Stencil: Drag-and-Drop Components - Ionic Blog

Drag-and-drop functionality is growing more and more popular on the web, and with good reason. Drag-and-drop features are both intuitive and provide a really enjoyable user experience. In this tutorial, we’re going to take a look at how you can build your very own drag-and-drop components using Stencil. For this tutorial, we’re going to be…

I would like to use the sortablejs to sort a list. These list objects are also part of the state of my web component. If I update the state after the drag and drop operation, the rerendering gets messed up. I can prevent this by using shouldUpdate() but the i cannot use the “DataBinding” mechanism.
Is there a way to keep the “DataBinding” and the DOM changes of the library in sync?