st0ffern / react-native-optimized-flatlist

Optimization for complex and slow React Native FlatLists
MIT License
259 stars 47 forks source link

Changing the data makes it weird #26

Open abs-cbn-iptv-xcms opened 6 years ago

abs-cbn-iptv-xcms commented 6 years ago

When there are only 2 items in the data and I dynamically change the data by removing 1 item and change also the extradata for it to refresh, what happens is all are gone (superficially). The remaining item is still there, I can verify that data got one item and to my surprise if I just change the component from optimizedflatlist to just flatlist, this does not happen.

I can also observed this not just on 2 items left, but on optimizedflatlist that I am dynamically changing data, which as I said does not happen if I just switch it to plain flatlist.