ValentinH / react-easy-sort

A React component to sort items in lists or grids
https://ValentinH.github.io/react-easy-sort
MIT License
152 stars 24 forks source link

Virtualization #44

Open jonathanrstern opened 8 months ago

jonathanrstern commented 8 months ago

I’m using this library for a photo drag-n-drop grid in a production environment. Some users have >500 photos.

I switched to this library because it is much more performant than dnd-kit. That said, it’s still pretty slow for users who have 500 photos so I’m wondering, is virtualization an option? How hard would it be to add something like react-window on top of this library?

ValentinH commented 8 months ago

I'm not really sure of the impact of adding virtualisation but I don't think it would be trivial. However, scrollable containers are already not supported so I think it would be a requirement in order to support virtualisation.