- Let's start with some optimizations we can make to our vanilla ListView component. If we set the initialListSize property to 1, we can speed up the initial rendering.
- Next, we can bump up the pageSize if the component being rendered in each row is not complex.
- Another optimization is setting the scrollRenderAheadDistance to a comfortable value. If you can expect users to rarely scroll past the initial viewport, or that they're likely to scroll slowly, then you can lower the value. This prevents the ListView from rendering too many rows in advance.
- Finally, the last optimization we can make use of is the removeClippedSubviews property. However, the official documentation states the following:
"The feature may have bugs ...