From f664582c3b5db91bdf78dd917ae47dd015d792b2 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Sat, 11 Oct 2025 23:43:14 +0200 Subject: [PATCH] Optimizing FlatList: wording tweak, backport default value change --- docs/optimizing-flatlist-configuration.md | 2 +- .../version-0.77/optimizing-flatlist-configuration.md | 8 ++++---- .../version-0.78/optimizing-flatlist-configuration.md | 8 ++++---- .../version-0.79/optimizing-flatlist-configuration.md | 8 ++++---- .../version-0.80/optimizing-flatlist-configuration.md | 8 ++++---- .../version-0.81/optimizing-flatlist-configuration.md | 2 +- .../version-0.82/optimizing-flatlist-configuration.md | 2 +- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/optimizing-flatlist-configuration.md b/docs/optimizing-flatlist-configuration.md index a048528d7bb..2f4f45f19a6 100644 --- a/docs/optimizing-flatlist-configuration.md +++ b/docs/optimizing-flatlist-configuration.md @@ -27,7 +27,7 @@ Here are a list of props that can help to improve `FlatList` performance: | ------- | ------------------------------------ | | Boolean | `true` on Android, otherwise `false` | -If `true`, views that are outside of the viewport are detached from the native view hierarchy. +If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy. **Pros:** This reduces time spent on the main thread, and thus reduces the risk of dropped frames, by excluding views outside of the viewport from the native rendering and drawing traversals. diff --git a/website/versioned_docs/version-0.77/optimizing-flatlist-configuration.md b/website/versioned_docs/version-0.77/optimizing-flatlist-configuration.md index b7f2bb734d2..bd85cca16ab 100644 --- a/website/versioned_docs/version-0.77/optimizing-flatlist-configuration.md +++ b/website/versioned_docs/version-0.77/optimizing-flatlist-configuration.md @@ -23,11 +23,11 @@ Here are a list of props that can help to improve `FlatList` performance: ### removeClippedSubviews -| Type | Default | -| ------- | ------- | -| Boolean | False | +| Type | Default | +| ------- | ------------------------------------ | +| Boolean | `true` on Android, otherwise `false` | -If `true`, views that are outside of the viewport are detached from the native view hierarchy. +If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy. **Pros:** This reduces time spent on the main thread, and thus reduces the risk of dropped frames, by excluding views outside of the viewport from the native rendering and drawing traversals. diff --git a/website/versioned_docs/version-0.78/optimizing-flatlist-configuration.md b/website/versioned_docs/version-0.78/optimizing-flatlist-configuration.md index 9ea5576bc1d..16c8d32c105 100644 --- a/website/versioned_docs/version-0.78/optimizing-flatlist-configuration.md +++ b/website/versioned_docs/version-0.78/optimizing-flatlist-configuration.md @@ -23,11 +23,11 @@ Here are a list of props that can help to improve `FlatList` performance: ### removeClippedSubviews -| Type | Default | -| ------- | ------- | -| Boolean | False | +| Type | Default | +| ------- | ------------------------------------ | +| Boolean | `true` on Android, otherwise `false` | -If `true`, views that are outside of the viewport are detached from the native view hierarchy. +If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy. **Pros:** This reduces time spent on the main thread, and thus reduces the risk of dropped frames, by excluding views outside of the viewport from the native rendering and drawing traversals. diff --git a/website/versioned_docs/version-0.79/optimizing-flatlist-configuration.md b/website/versioned_docs/version-0.79/optimizing-flatlist-configuration.md index b7f2bb734d2..bd85cca16ab 100644 --- a/website/versioned_docs/version-0.79/optimizing-flatlist-configuration.md +++ b/website/versioned_docs/version-0.79/optimizing-flatlist-configuration.md @@ -23,11 +23,11 @@ Here are a list of props that can help to improve `FlatList` performance: ### removeClippedSubviews -| Type | Default | -| ------- | ------- | -| Boolean | False | +| Type | Default | +| ------- | ------------------------------------ | +| Boolean | `true` on Android, otherwise `false` | -If `true`, views that are outside of the viewport are detached from the native view hierarchy. +If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy. **Pros:** This reduces time spent on the main thread, and thus reduces the risk of dropped frames, by excluding views outside of the viewport from the native rendering and drawing traversals. diff --git a/website/versioned_docs/version-0.80/optimizing-flatlist-configuration.md b/website/versioned_docs/version-0.80/optimizing-flatlist-configuration.md index b7f2bb734d2..bd85cca16ab 100644 --- a/website/versioned_docs/version-0.80/optimizing-flatlist-configuration.md +++ b/website/versioned_docs/version-0.80/optimizing-flatlist-configuration.md @@ -23,11 +23,11 @@ Here are a list of props that can help to improve `FlatList` performance: ### removeClippedSubviews -| Type | Default | -| ------- | ------- | -| Boolean | False | +| Type | Default | +| ------- | ------------------------------------ | +| Boolean | `true` on Android, otherwise `false` | -If `true`, views that are outside of the viewport are detached from the native view hierarchy. +If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy. **Pros:** This reduces time spent on the main thread, and thus reduces the risk of dropped frames, by excluding views outside of the viewport from the native rendering and drawing traversals. diff --git a/website/versioned_docs/version-0.81/optimizing-flatlist-configuration.md b/website/versioned_docs/version-0.81/optimizing-flatlist-configuration.md index fb3ca341564..ef46d01c151 100644 --- a/website/versioned_docs/version-0.81/optimizing-flatlist-configuration.md +++ b/website/versioned_docs/version-0.81/optimizing-flatlist-configuration.md @@ -27,7 +27,7 @@ Here are a list of props that can help to improve `FlatList` performance: | ------- | ------------------------------------ | | Boolean | `true` on Android, otherwise `false` | -If `true`, views that are outside of the viewport are detached from the native view hierarchy. +If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy. **Pros:** This reduces time spent on the main thread, and thus reduces the risk of dropped frames, by excluding views outside of the viewport from the native rendering and drawing traversals. diff --git a/website/versioned_docs/version-0.82/optimizing-flatlist-configuration.md b/website/versioned_docs/version-0.82/optimizing-flatlist-configuration.md index a048528d7bb..2f4f45f19a6 100644 --- a/website/versioned_docs/version-0.82/optimizing-flatlist-configuration.md +++ b/website/versioned_docs/version-0.82/optimizing-flatlist-configuration.md @@ -27,7 +27,7 @@ Here are a list of props that can help to improve `FlatList` performance: | ------- | ------------------------------------ | | Boolean | `true` on Android, otherwise `false` | -If `true`, views that are outside of the viewport are detached from the native view hierarchy. +If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy. **Pros:** This reduces time spent on the main thread, and thus reduces the risk of dropped frames, by excluding views outside of the viewport from the native rendering and drawing traversals.