Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/optimizing-flatlist-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (Android)<br />False (iOS) |

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.

Expand Down
Loading