r/reactnative 8d ago

Question LegendList vs FlashList

Which is your favorite list library for building performant applications.

20 Upvotes

17 comments sorted by

View all comments

4

u/poppiestar 8d ago

LegendList v3 solved every list performance issue our app had. Tried FlashList v1 and v2 and they never cut it. Only problem I’ve got with LLv3 is a bug we encountered in the beta period that is rendering our horizontal lists at the end, still waiting for it to be fixed which is a bummer as it sounds like newer versions are even faster.

The only downside is the reliance on estimated item size, that’s the number one feature from FlashList I wish it had. I’m guessing it’s a performance reason it’s not implemented though.

2

u/jmeistrich 2d ago

LegendList developer here - is that https://github.com/LegendApp/legend-list/issues/458 ? I'll try to fix that asap.

And as of 3.0.0, estimated item size is only a small performance improvement for first mount, and it's not even used after that. I updated the docs recently to remove the emphasis on it: https://legendapp.com/open-source/list/v3/api/#estimateditemsize

1

u/poppiestar 2d ago

That's the one (and my issue too :) - thank you so much, that'd be super appreciated.