Skip to content

Remove legacyImplementation #2012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2020
Merged
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
12 changes: 0 additions & 12 deletions docs/optimizing-flatlist-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,6 @@ The number passed here is a measurement unit where 1 is equivalent to your viewp

**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

| Type | Default |
| ------- | ------- |
| Boolean | False |

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.
Expand Down