From fed82885b716f54bab04dfd56a6714cf41965a2c Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 25 Jun 2025 13:58:52 -0700 Subject: [PATCH] tweak render props for post thread --- src/screens/PostThread/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/screens/PostThread/index.tsx b/src/screens/PostThread/index.tsx index ced321181a..f6ab554b6b 100644 --- a/src/screens/PostThread/index.tsx +++ b/src/screens/PostThread/index.tsx @@ -45,7 +45,7 @@ const CHILDREN_CHUNK_SIZE = 50 export function PostThread({uri}: {uri: string}) { const {gtMobile} = useBreakpoints() const {hasSession} = useSession() - const initialNumToRender = useInitialNumToRender() // TODO + const initialNumToRender = useInitialNumToRender() const {height: windowHeight} = useWindowDimensions() const anchorPostSource = useUnstablePostSource(uri) const feedFeedback = useFeedFeedback(anchorPostSource?.feed, hasSession) @@ -555,15 +555,15 @@ export function PostThread({uri}: {uri: string}) { /** * Default: 21 */ - windowSize={platform({android: 11})} + windowSize={7} /** * Default: 10 */ - maxToRenderPerBatch={platform({android: 5})} + maxToRenderPerBatch={5} /** * Default: 50 */ - updateCellsBatchingPeriod={platform({android: 25})} + updateCellsBatchingPeriod={100} /> )}