Skip to content
Discussion options

You must be logged in to vote

Hmm, yes I believe that's because of the mutability and because FlashList specifically checks whether data has changed: https://github.com/Shopify/flash-list/blob/2226ab0a54573d78f01b0a743bc51f9450dd5151/src/FlashList.tsx#L185. And it seems that not even extraData can make it update the list items...

I guess your change to clone the array works... I can't think of a better way to make it work with FlashList at the moment. I'll think about it some more though.

For what it's worth though, I'm making a list component with better performance and ergonomics than FlashList. It's still pre-1.0 but I know a few companies are already using it in production. It may be a good alternative? https://gi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@the-devbear
Comment options

Answer selected by the-devbear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants