Skip to content

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

@ivpusic

Description

@ivpusic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions