Skip to content Skip to sidebar Skip to footer

React Native: Performance Issue While Using 2 Flatlists

I have 2 FlatList inside a ScrollView. The ScrollView and the second FlatList lags as soon as the FlatList comes into view. I tried keeping only one FlatList and it works pretty sm

Solution 1:

Try adding shouldComponentUpdate to each of your React.PureComponent

Also I seem to have performance issues when I have a FlatList inside of a ScrollView, try moving your FlatList out of the ParallaxScrollView

Post a Comment for "React Native: Performance Issue While Using 2 Flatlists"