Skip to content
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

Closed
ivpusic opened this issue Aug 17, 2017 · 4 comments
Closed

[Flatlist] Initial render is much faster than rerender #15531

ivpusic opened this issue Aug 17, 2017 · 4 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@ivpusic
Copy link

ivpusic commented Aug 17, 2017

Environment

  1. react-native -v: 0.47.1
  2. node -v: 8.1.0
  3. npm -v: 5.3.0
  • Target Platform: ios
  • Development Operating System: macOS

Steps 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.

@hramos
Copy link
Contributor

hramos commented Aug 17, 2017

Can you reproduce the issue using Snack? This step is necessary for people to be able to see and debug the issue being reported.

@hramos hramos closed this as completed Aug 17, 2017
@hramos
Copy link
Contributor

hramos commented Aug 17, 2017

Did not mean to close.

@hramos hramos reopened this Aug 17, 2017
@pull-bot
Copy link

@facebook-github-bot no-template

@facebook-github-bot
Copy link
Contributor

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.

@facebook-github-bot facebook-github-bot added Ran Commands One of our bots successfully processed a command. Needs more information labels Oct 10, 2017
@facebook facebook deleted a comment from facebook-github-bot Oct 10, 2017
@facebook facebook deleted a comment from pull-bot Oct 10, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Oct 10, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants