tweak render props for post thread

This commit is contained in:
Hailey
2025-06-25 13:58:52 -07:00
parent 521d707f99
commit fed82885b7
+4 -4
View File
@@ -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}
/>
)}