File tree 1 file changed +4
-2
lines changed
src/components/InvertedFlatList
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,10 @@ class BaseInvertedFlatList extends Component {
136
136
// Native platforms do not need to measure items and work fine without this.
137
137
// Web requires that items be measured or else crazy things happen when scrolling.
138
138
getItemLayout = { this . props . shouldMeasureItems ? this . getItemLayout : undefined }
139
- // We keep this property very low so that chat switching remains fast
140
- maxToRenderPerBatch = { 1 }
139
+ // Keep batch size relatively small for responsiveness, but not too small as it will cause
140
+ // excessive rendering. See https://github.com/Expensify/App/pull/19345 for performance testing
141
+ // of this value.
142
+ maxToRenderPerBatch = { 10 }
141
143
windowSize = { 15 }
142
144
143
145
// Commenting the line below as it breaks the unread indicator test
You can’t perform that action at this time.
0 commit comments