Replies: 2 comments
-
|
Working on it |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
v1.3.0 published on npm.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Suggestion: Improve performance with Shopify's FlashList
Hi,
First of all, thank you for this awesome library! 🥳
I’d like to suggest using FlashList from Shopify as the default list component for handling large datasets.
Why FlashList?
FlashList is an ultra-fast, highly optimized list component designed specifically for large datasets. It addresses several performance bottlenecks that often arise with React Native’s default
FlatList.In my personal experience, while using
react-native-paper-selectwith large datasets (for example, when working with country, department, and city lists), I’ve encountered multiple performance issues related toFlatList. These include slow rendering and sluggish scrolling when handling long lists. This led me to explore FlashList as a potential solution.Benefits:
Areas to Consider:
estimatedItemSize, which is crucial for its performance optimization. This is something that would need to be addressed, but it can be handled efficiently with some adjustments in the component.Here's the link to the FlashList library for reference: FlashList - Shopify.
Thanks again for your hard work, and I hope this suggestion is helpful! 😉
Beta Was this translation helpful? Give feedback.
All reactions