You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to migrate from FlatList to FlashList, and I am experiencing a behavior that I don’t understand.
It is so basic that I don’t think it’s necessary to open an issue.
However, this case only works because I have added extraData={[]}.
If you comment out the line extraData={[]}, it will no longer work.
I have read the documentation thoroughly, and I don’t understand why it doesn’t work if I remove this property—let alone the influence it has on the rendering, especially with an empty array.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello and thank you for your library :)
I am trying to migrate from FlatList to FlashList, and I am experiencing a behavior that I don’t understand.
It is so basic that I don’t think it’s necessary to open an issue.
In this very simple case, I apply a backgroundColor when an item is selected: https://snack.expo.dev/htmtuhwVVrKx2_WwLo1Q0
However, this case only works because I have added
extraData={[]}
.If you comment out the line
extraData={[]}
, it will no longer work.I have read the documentation thoroughly, and I don’t understand why it doesn’t work if I remove this property—let alone the influence it has on the rendering, especially with an empty array.
Could someone help me?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions