Conversation
|
Appreciate this, since even just taking the sortable list example and rendering 1000 items makes this library unbearably slow. I built out on this and added a bunch more memoisation and some performance optimisation where I saw using the chrome performance devtools that time was spent, my work is here: https://github.com/danieltroger/faster-solid-dnd/commits/main/, mainly this commit: danieltroger@020c07f Seems like this lib looks umaintained anyways so I won't bother anymore trying to upstream my changes (for now).It's still too slow, mostly due to the solid stores being slow - dragging around, multiple seconds are spent in there. With no low hanging fruits spotted I'll look for other solutions (was just exploring this lib) |
|
Thanks for taking a look. I think virtualisation support would be the way forward to deal with larger numbers of items. |
This PR fixes overly eager execution of effects in components
Warning
I have not yet finished tested this in my project
Updates:
colision.tscombine-refs.tscreate-dragable.tscreate-dropable.tscreate-pointer-sensor.tscreate-sortable.tsdrag-drop-context.tsxdrag-drop-debugger.tsxdrag-drop-sensors.tsxdrag-overlay.tsxindex.tsxlayout.tsmove-array-item.tssortable-context.tsxstyle.ts