-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Flatlist] Initial render is much faster than rerender #15531
Comments
Can you reproduce the issue using Snack? This step is necessary for people to be able to see and debug the issue being reported. |
Did not mean to close. |
@facebook-github-bot no-template |
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! See "What to Expect from Maintainers" to learn more. |
Environment
react-native -v
: 0.47.1node -v
: 8.1.0npm -v
: 5.3.0Steps to Reproduce
I am rendering about 50 items with Flatlist. Initial rendering takes about 500ms, but at some point, I will replace data array with new one, which has completely different set of items.
When this happens, re-rendering takes about 1 second.
Expected behavior
Rendering should not be slower than initial.
The text was updated successfully, but these errors were encountered: