I am using FlashList on my project, and I have two different lists that share the same header. When I click a button on the ListHeaderComponent , the displayed list switches. Each list contains different items, which vary in size and content. Which would be the best practice here? Is it better to use a single FlashList and update data and renderItem , or should I use two separate FlashLists?
Originally asked by Marta C on Stack Exchange (stackoverflow) (CC BY-SA 4.0).