Skip to content

Commit

Permalink
Do not lazy load nested collections when there less than 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Feb 13, 2024
1 parent 782d758 commit b4eb953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/co/bookmarks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class Bookmarks extends React.Component {
<Lazy
data={ids}
keyExtractor={this.keyExtractor}
initialNumToRender={1}
activateAfter={1}>
initialNumToRender={20}
activateAfter={20}>
{spaceId=>this.renderSpace(spaceId)}
</Lazy>
</div>
Expand Down

0 comments on commit b4eb953

Please sign in to comment.