-
Notifications
You must be signed in to change notification settings - Fork 365
FlashList performance of V1 vs V2? #1811
-
My team has been using FlashList in our projects and it has really helped us improve performance for our large lists. I noticed that in V2 you mentioned that it is an all JS solution. I am curious, what is the performance difference between v1 and v2? Is there a performance improvement or can we expect a small slowdown as a trade off for an easier to use API?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 1 reply
-
As far as i understand the old V1 used a small native module to measure the cells, now RN allows for fast sync measurements in JS so they removed the native module, i don't think we should expect a slowdown as a tradeoff
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Thank you for clarifying. We have been testing it and have not noticed anything significant.
Beta Was this translation helpful? Give feedback.
All reactions
-
V2 is much better at reducing blank areas on new arch. Since blanks occur in extreme cases, you might not see much of a difference. Btw, v2 is a complete rewrite and doesn't just remove native modules.
Beta Was this translation helpful? Give feedback.