pagination icon indicating copy to clipboard operation
pagination copied to clipboard

Pagination with API from backend!

Open ikashifullah opened this issue 7 years ago • 1 comments

First of All, amazing plugin.

I have seen all of the examples but I couldn't find pagination that could work with API. Let's see an example of Todo from API:

  1. API returns 10 items by clicking on each page.
  2. Total items of API are 400.
  3. We are using Axios API Client with react.

Now, I can't figure out how to use it with Axios and API.

ikashifullah avatar Jun 14 '18 05:06 ikashifullah

rc-pagination just a UI component. You should handle the logic with server in onChange by yourself.

yutingzhao1991 avatar Jun 19 '18 06:06 yutingzhao1991