FlatListrenders items lazily, when they are about to appear, and removes items that scroll way off screen to save memory and processing time.- The
FlatListcomponent displays a scrolling list of changing, but similarly structured, data. FlatListworks well for long lists of data, where the number of items might change over time. Unlike the more genericScrollView, theFlatListonly renders elements that are currently showing on the screen, not all the elements at once.