refect with pagination useList
Hi guys! can we use refecth with pagination in useList hook?
i use strapi4 provider, but on strapi server page limit to 100 rows, because i want get more data rows
4 Replies
Hey @qhoirulanwar! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave:
----------------------
Yes, you can use the
useList
hook with pagination. The useList
hook supports the pagination feature. You can pass the pagination
property to enable pagination. To handle pagination, the useList
hook passes the pagination
property to the getList
method from the dataProvider
.
You can find more information about the useList
hook in the Refine documentation (https://refine.dev/docs/api-reference/core/hooks/data/useList/).
If you are using Strapi v4 as your data provider, you can find more information about how to use it with Refine in the Strapi v4 tutorial (https://refine.dev/docs/advanced-tutorials/data-provider/strapi-v4).
----------------------<@838510264676515913> kapa.ai is still learning and improving, please let us how it did by reacting below
Hey @qhoirulanwar ,
You can try to use useInfiniteList ⚡
https://refine.dev/docs/api-reference/core/hooks/data/useInfiniteList/
rare-sapphire•2y ago
alhamdulillah, thanks )