increase batch size

This commit is contained in:
Sérgio Ramos 2016-11-21 17:29:47 +00:00
parent e3c645061e
commit 172e0da3f7

View File

@ -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}