[REGRESSION] Decrease list view memory size (#1361)

This commit is contained in:
Diego Mello 2019-11-01 14:41:32 -03:00 committed by GitHub
parent ffeac38034
commit ae949e6d68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -187,11 +187,11 @@ export class List extends React.Component {
style={styles.list}
inverted
removeClippedSubviews={isIOS}
// initialNumToRender={7}
initialNumToRender={7}
onEndReached={this.onEndReached}
// onEndReachedThreshold={5}
// maxToRenderPerBatch={5}
// windowSize={10}
onEndReachedThreshold={5}
maxToRenderPerBatch={5}
windowSize={10}
ListFooterComponent={this.renderFooter}
{...scrollPersistTaps}
/>