Video yükleniyor...
Video Yüklenemedi
LegendList by Jay Meistrich supports maintainVisibleContentPosition, a smart list invert using padding instead of flipping transform, has bi-directional scroll events, has passed most of my QA (nobody tests like me) and is ~20% faster than FlashList.
31,056 görüntüleme • 1 yıl önce •via X (Twitter)
11 Yorum

If you’re still trying to trust FlashList or FlatList, you deserve all the pain. LegendList still has bugs, but I promise you that @jmeistrich cares about your feedback and won’t make empty promises or ghost you. We ported our collapsible tabview to LegendList.

And it shreds FlashList and FlatList like cabbage. Fuck you, FlatList. Fuck you, FlashList. May you both rest in peace. The king is dead—long live the king. And the king is LegendList.

Install it, test it, report bugs. Fucking Sponsor Jay! Let's make v1.0 reality.

@jmeistrich nobody tests like Hirbod

Make code reviews seamless with Qodo Merge. Directly implement changes to PRs, apply modifications from review comments, and fine-tune updates using intelligent suggestions. Let Qodo Merge learn and adapt to your team’s best practices for better results.

@jmeistrich Wild that it’s also a pure JS implementation

@jmeistrich Exactly! And ~1000 LoC

@jmeistrich Are u using collapsible-tab-view in the example? If so, did u encountered shitty performance using new-arch?

@jmeistrich So far our performance is good, but this is also our very own collapsible component. We’ll soon release LegendList support. New arch works ok for us. Definitely regressed a bit if I am being honest but still fairly good, specially on Android.

@jmeistrich I created a new project with v.77 and this is the outcome. Nothing fancy , just loading 1000 images (of each 500px X 500px) with the regular image component and on this device which supports 120hz refresh rate. A few drops below 60fps but

@jmeistrich Is this LegendList or what are you referring to? 500x500 is definitely pretty big for these cells, I'd reduce them even further. Also, replace the image against expo-image
