-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate FlatList to FlashList #28178
Labels
Monthly
KSv2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
While FlatList is suitable for typical use cases, our goal is to achieve the highest level of app performance, especially when dealing with extensive lists, such as Chats, Threads, Workspaces, Reports, and specific Money Threads.
Chats list items have 3 dependant onyx queries, which needs to be fetched when new items are rendered (+ will cause 3 react renders)
Solution
To address this performance challenge, we propose switching from FlatList to FlashList. By making this transition, we anticipate a significant performance improvement of approximately 2x. The best part is that this solution is cross-platform compatible and requires minimal changes, primarily by utilizing the estimatedItemSize property.
The text was updated successfully, but these errors were encountered: