Skip to content

Commit 1b02d77

Browse files
authored
Optimizing FlatList: wording tweak, backport default value change (facebook#4846)
1 parent 912e059 commit 1b02d77

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

docs/optimizing-flatlist-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Here are a list of props that can help to improve `FlatList` performance:
2727
| ------- | ------------------------------------ |
2828
| Boolean | `true` on Android, otherwise `false` |
2929

30-
If `true`, views that are outside of the viewport are detached from the native view hierarchy.
30+
If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy.
3131

3232
**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.
3333

website/versioned_docs/version-0.77/optimizing-flatlist-configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Here are a list of props that can help to improve `FlatList` performance:
2323

2424
### removeClippedSubviews
2525

26-
| Type | Default |
27-
| ------- | ------- |
28-
| Boolean | False |
26+
| Type | Default |
27+
| ------- | ------------------------------------ |
28+
| Boolean | `true` on Android, otherwise `false` |
2929

30-
If `true`, views that are outside of the viewport are detached from the native view hierarchy.
30+
If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy.
3131

3232
**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.
3333

website/versioned_docs/version-0.78/optimizing-flatlist-configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Here are a list of props that can help to improve `FlatList` performance:
2323

2424
### removeClippedSubviews
2525

26-
| Type | Default |
27-
| ------- | ------- |
28-
| Boolean | False |
26+
| Type | Default |
27+
| ------- | ------------------------------------ |
28+
| Boolean | `true` on Android, otherwise `false` |
2929

30-
If `true`, views that are outside of the viewport are detached from the native view hierarchy.
30+
If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy.
3131

3232
**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.
3333

website/versioned_docs/version-0.79/optimizing-flatlist-configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Here are a list of props that can help to improve `FlatList` performance:
2323

2424
### removeClippedSubviews
2525

26-
| Type | Default |
27-
| ------- | ------- |
28-
| Boolean | False |
26+
| Type | Default |
27+
| ------- | ------------------------------------ |
28+
| Boolean | `true` on Android, otherwise `false` |
2929

30-
If `true`, views that are outside of the viewport are detached from the native view hierarchy.
30+
If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy.
3131

3232
**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.
3333

website/versioned_docs/version-0.80/optimizing-flatlist-configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ Here are a list of props that can help to improve `FlatList` performance:
2323

2424
### removeClippedSubviews
2525

26-
| Type | Default |
27-
| ------- | ------- |
28-
| Boolean | False |
26+
| Type | Default |
27+
| ------- | ------------------------------------ |
28+
| Boolean | `true` on Android, otherwise `false` |
2929

30-
If `true`, views that are outside of the viewport are detached from the native view hierarchy.
30+
If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy.
3131

3232
**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.
3333

website/versioned_docs/version-0.81/optimizing-flatlist-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Here are a list of props that can help to improve `FlatList` performance:
2727
| ------- | ------------------------------------ |
2828
| Boolean | `true` on Android, otherwise `false` |
2929

30-
If `true`, views that are outside of the viewport are detached from the native view hierarchy.
30+
If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy.
3131

3232
**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.
3333

website/versioned_docs/version-0.82/optimizing-flatlist-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Here are a list of props that can help to improve `FlatList` performance:
2727
| ------- | ------------------------------------ |
2828
| Boolean | `true` on Android, otherwise `false` |
2929

30-
If `true`, views that are outside of the viewport are detached from the native view hierarchy.
30+
If `true`, views that are outside of the viewport are automatically detached from the native view hierarchy.
3131

3232
**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.
3333

0 commit comments

Comments
 (0)