Is it imperative that there are no keys within the hierarchy of renderItem? #919
Unanswered
miikemccabe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking into using FlashList instead of FlatList. Things were working except when scrolling down quickly the images for some items were wrong and then the correct one would pop in. Adding a key to the image fixed this issue.
The docs say
Does adding a key to any child of the rendered item really result in the use of FlashList being pointless?
If so I'm not sure I can use FlashList because it would be so easy for someone in the future to add a child component with a key somewhere in the hierarchy and destroy the performance benefits without even knowing.
Beta Was this translation helpful? Give feedback.
All reactions