Replies: 1 comment
-
Hey @rohankm! I've been thinking of adding a possibility to sort virtualized list items but it is not that simple. The main problem is that reanimated style updates cannot be synchronized with React renders, thus I won't be able to properly set the style of the item when the list renders with a new array of data items. I haven't figured out a proper solution for that so I implemented my custom sortable components that don't use virtualization, thus, they won't be performant for long lists of items. I think I should work on the virtualization in the future but it is a bit complex topic to do this right on myself and integrating sortable list items to any of existing lists also doesn't seem to be easy because these synchronization problems that I described above. What I can suggest is to assume that this library currently is meant to support smaller grids/lists with tens of items but not hundreds or more. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
There is a significant performance degraded with bigger lists, especially initial load takes a lot of time . can "Legend List" be implemented with sortable for better performance?
Beta Was this translation helpful? Give feedback.
All reactions