Skip to content

Conversation

@Boooober
Copy link

This PR adds the windowSize prop to improve the performance of nested FlatList components. This prop allows developers to control how many items are rendered around the current scroll position, helping optimize memory usage and performance for large lists.

The windowSize defaults to 21 as per React Native’s default behavior, but it can now be customized by the user based on the size of their list and performance needs. This prop significantly improves scrolling performance, particularly in long or image-heavy masonry layouts by reducing the number of items in memory.

@Boooober Boooober changed the title Add column window size Add column windowSize Sep 20, 2024
@Boooober Boooober changed the title Add column windowSize Add column's windowSize Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant