What is the use of FlatList?

Technology CommunityCategory: React NativeWhat is the use of FlatList?
VietMX Staff asked 3 years ago
  • FlatList renders items lazily, when they are about to appear, and removes items that scroll way off screen to save memory and processing time.
  • The FlatList component displays a scrolling list of changing, but similarly structured, data.
  • FlatList works well for long lists of data, where the number of items might change over time. Unlike the more generic ScrollView, the FlatList only renders elements that are currently showing on the screen, not all the elements at once.