react-native-photo-browser
react-native-photo-browser copied to clipboard
Adding data to the front of medialist breaks photo-browser re-rendering
I'm trying to organize my photobrowser to display images chronologically (newest first to oldest). When new data comes in, I add it to the front of the mediaList data array, but this breaks the component and does not render properly. Any help/pointers is appreciated.
Thanks for reporting @prabhaav. I'll try creating a similar example to your use case to reproduce the problem. I'm busy with work nowadays so a pull request about it would be much appreciated.