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.
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.