-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow disabling DOM changes for bindings on virtual dom #1931
Labels
Comments
I've seen people asking for this since 2015. Is there anything we could do to speed this up? Sortable seems to work great on mobiles, unlike other similar libs so I wish I could simply use it while managing the underlying model myself. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Creating framework bindings requires extensive knowledge of the Sortable API, DOM and the particular framework because once the framework updates state, all the DOM manipulation Sortable does gets reversed and broken by the framework.
By allowing a disability function, developers can create light wrappers instead of having to reverse SortableJS actions and thus not wasting precious rendering resources.
Additional Context
This applies to Vue, React and Angular as far as I know.
The text was updated successfully, but these errors were encountered: