Perf: Dont initial-render full thread on mobile (#2101)
parent
826b841e10
commit
accb25ccf2
|
@ -322,7 +322,7 @@ function PostThreadLoaded({
|
|||
<FlatList
|
||||
ref={ref}
|
||||
data={posts}
|
||||
initialNumToRender={posts.length}
|
||||
initialNumToRender={!isNative ? posts.length : undefined}
|
||||
maintainVisibleContentPosition={
|
||||
!needsScrollAdjustment.current
|
||||
? MAINTAIN_VISIBLE_CONTENT_POSITION
|
||||
|
|
Loading…
Reference in New Issue