I recently started to get play around with React Native a little bit. One of the questions that came to my mind was how to properly fetch large amounts of data from an API. I have a MySQL database with around 200k entries which I want to display in a list in the React Native application.
Fetching 200k entries at one shot probably is not the most efficient way to accomplish this. I thought of using the scroll index of my list and steadily fetch a smaller range of items (maybe about 20 or 30) while scrolling down. However, I don't think that is the best way to solve my problem. How have you solved this and what are your suggestions for handling larger amounts of data in React Native?
Thank you for your help in advance!