I have multiple questions about FlatList that I cannot answer reading the docs.
When do I need to use listKey and when keyExtractor? Sometimes, when I have siblings FlatLists I have to specify listKey in each list, as follows:
renderItem = (item, index) => (<View key={item.id} />)
<FlatList
keyExtractor={({id}) => id}
listKey="MusicList"
renderItem={this.renderItem}
/>
<FlatList
keyExtractor={({id}) => id}
listKey="BooksList"
/>
Can I have the listKey and the keyExtractor at the same time?
What I have been thinking until now is that listKey is like a keyExtractor but for lists, and that keyExtractor identify every item in a list... Is that right?
Thank you.