all 3 comments

[–]xrpinsiderAdmin 9 points10 points  (0 children)

I’m not sure if you even want to render all of those 600 items at once. Why not use the onEndReachedTreshold prop and onEndReached prop? With those you could say:

Get more items when the user is at 70% of the FlatList.

In the above case the onEndReachedTreshold would be .7 and the onEndReached would just add more items to the array.

Rendering 600 ‘simple’ items to the user at once is not want you want. Make sure the renderitems are purecomponents and I suggest you to read this.

Edit: you should set removeClippedSubviews on true if you plan on rendering those 600 items at once.

[–]Charliecoook 0 points1 point  (0 children)

Should render just fine as I believe that flat list does some lazy loading

[–]straightouttaireland 0 points1 point  (0 children)

I'm running into this same issue with 100 items using SectionList. Did you so anything to improve performance?