Perf: Dont initial-render full thread on mobile (#2101)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user