Skip to content

Commit 7dfdf3b

Browse files
committed
pagination vs renderOnScroll
1 parent 62b1044 commit 7dfdf3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

documentation/Doc.md

+4
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ end it will fetch some more while showing the loading indicator.
327327

328328
It is also good to use on lists which user normally dont reach the end anyways specially if you are letting them search, or filter the list.
329329

330+
`renderOnScroll` prop will not work while pagination props are being used.
331+
330332
```jsx
331333
<PlainList
332334
list={[1,2,3,...10000000]}
@@ -340,6 +342,8 @@ FlatList comes with pagination out of the box. This is specially great for when
340342
so you start with fetching a small portion and then let the user scroll to the bottom, show the loading indicator while you
341343
fetch some more.
342344

345+
Pagination props will not work while `renderOnScroll` is being used.
346+
343347
### hasMoreItems
344348
###### boolean
345349
You start by telling FlatList if there are more items to come with `hasMoreItems` prop. It will then start monitor scrolling

0 commit comments

Comments
 (0)