pagination
pagination copied to clipboard
Pagination with API from backend!
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:
- API returns 10 items by clicking on each page.
- Total items of API are 400.
- We are using Axios API Client with react.
Now, I can't figure out how to use it with Axios and API.
rc-pagination just a UI component. You should handle the logic with server in onChange by yourself.