diff --git a/docs/next/optimizing-flatlist-configuration.html b/docs/next/optimizing-flatlist-configuration.html index 5ade2fcdde4..a69cc1ea90d 100644 --- a/docs/next/optimizing-flatlist-configuration.html +++ b/docs/next/optimizing-flatlist-configuration.html @@ -139,18 +139,6 @@

The number passed here is a measurement unit where 1 is equivalent to your viewport height. The default value is 21 (10 viewports above, 10 below, and one in between).

Pros: Bigger windowSize will result in less chance of seeing blank space while scrolling. On the other hand, smaller windowSize will result in fewer items mounted simultaneously, saving memory.

Cons: For a bigger windowSize, you will have more memory consumption. For a lower windowSize, you will have a bigger chance of seeing blank areas.

-

legacyImplementation

- - - - - - - -
TypeDefault
BooleanFalse
-

Make FlatList rely on the older and deprecated ListView instead of VirtualizedList.

-

Pros: No risk of seeing blank areas while scrolling. May avoid bugs in VirtualizedList.

-

Cons: Extra memory consumption and more app crash risk in large lists (100+) with complex items. It also warns that the above tweaks will not work because now it is using ListView. Many other features are not supported. There may be other bugs since ListView is deprecated.

List items

Below are some tips about list item components. They are the core of your list, so they need to be fast.

Use basic components

@@ -186,7 +174,7 @@ // ... } -
Performance OverviewRAM Bundles and Inline Requires