From a9939ec230cb39866a2a8144c6a067567c2d98ab Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Mon, 20 Sep 2021 18:01:04 -0300 Subject: [PATCH] Increase post list initial and batch items to render --- app/components/post_list/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/post_list/index.tsx b/app/components/post_list/index.tsx index 5bae3aecf..287441a9f 100644 --- a/app/components/post_list/index.tsx +++ b/app/components/post_list/index.tsx @@ -214,8 +214,8 @@ const PostList = ({currentTimezone, currentUsername, isTimezoneEnabled, lastView keyExtractor={(item) => (typeof item === 'string' ? item : item.id)} style={{flex: 1}} contentContainerStyle={{paddingTop: 5}} - initialNumToRender={10} - maxToRenderPerBatch={Platform.select({android: 5})} + initialNumToRender={25} + maxToRenderPerBatch={25} removeClippedSubviews={true} onViewableItemsChanged={onViewableItemsChanged} viewabilityConfig={VIEWABILITY_CONFIG}