react-native-reorderable-list icon indicating copy to clipboard operation
react-native-reorderable-list copied to clipboard

<FlashList /> Support

Open manuthecoder opened this issue 1 year ago • 2 comments

Description

First off, this library is truly a blessing. Reordering lists in react native is a pain and most of the other libraries are oudated.

I was wondering if support for <FlashList /> would be implemented in the near future. I'd be happy to implement it ASAP in my productivity platform.

Why?

  • Supporting FlashList would also add web functionality, so it might be a good thing to look into.
  • Android and Web performance would be so much better!
  • FlashList is widely used by many applications already

Possible implementation

Probably more complicated than this, but essentially you would replace all instances of <FlatList /> with Shopify's <FlashList />

manuthecoder avatar Feb 28 '25 17:02 manuthecoder

Hi @manuthecoder, I already tried it a while back and when you swapped two items of different heights the list would jump and I believe that happened because of the recycling algorithm. This is unfortunately a big limitation for lots of use cases.

If there's a way to overcome this issue then there's a couple of things that need to be rewritten from scratch, so it's not really a drop-in replacement. I'd be open for it, but in the near future it won't happen.

omahili avatar Mar 02 '25 16:03 omahili

This is a much-needed feature.. please add support to this

roo12312 avatar Jun 20 '25 11:06 roo12312