mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
increase batch size
This commit is contained in:
parent
e3c645061e
commit
172e0da3f7
1
spikes/list/react-infinite/src/list.js
vendored
1
spikes/list/react-infinite/src/list.js
vendored
@ -88,6 +88,7 @@ const List = ({
|
|||||||
<input onChange={onChange} />
|
<input onChange={onChange} />
|
||||||
<Infinite
|
<Infinite
|
||||||
containerHeight={400}
|
containerHeight={400}
|
||||||
|
preloadBatchSize={1600}
|
||||||
elementHeight={20}
|
elementHeight={20}
|
||||||
infiniteLoadBeginEdgeOffset={200}
|
infiniteLoadBeginEdgeOffset={200}
|
||||||
onInfiniteLoad={fetch}
|
onInfiniteLoad={fetch}
|
||||||
|
Loading…
Reference in New Issue
Block a user