Skip to content

Title: Performance Issues with Large Datasets in Flash List #1633

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

Open
Encoded99 opened this issue Apr 27, 2025 · 4 comments
Open

Title: Performance Issues with Large Datasets in Flash List #1633

Encoded99 opened this issue Apr 27, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@Encoded99
Copy link

Description: I’m experiencing performance degradation with Shopify Flash List when handling larger datasets. As the data size grows, scrolling becomes laggy, and rendering slows down. These issues persist despite optimizing my code and implementing a static version of my feed to minimize re-rendering.

Steps Taken:

Optimized lazy rendering props (initialNumToRender, maxToRenderPerBatch).

Created a static feed equivalent to reduce rerenders.

Despite these efforts, the problem persists, particularly with datasets larger than 30 items.

I would appreciate guidance or updates to improve Flash List's handling of large datasets, or documentation for efficient scrolling with larger data sizes

@Encoded99 Encoded99 added the bug Something isn't working label Apr 27, 2025
@naqvitalha
Copy link
Collaborator

30 isn't large. FlashList can easily handle thousands of items. Will you be able to share a video or sample?

@Encoded99
Copy link
Author

Encoded99 commented Apr 30, 2025

Here is a video, you will see that towards the end the scrolling start lagging "https://youtu.be/hQ1dq3fclJs?si=Bo_MQ2lvkSD0j6Ic" that's the youtube link to the screen record

@brianw-tech
Copy link

Here is a video, you will see that towards the end the scrolling start lagging "https://youtu.be/hQ1dq3fclJs?si=Bo_MQ2lvkSD0j6Ic" that's the youtube link to the screen record

I am experiencing the same issue, did you get a solution?

@Encoded99
Copy link
Author

Nah I didn't get solution I had to resort to pagination

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants