react-component / react-component/pagination

Pagination with API from backend!

Open
#136 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
674
Forks
333
Avg merge
12m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing examples and the React pagination API, then compare them with the described Axios response containing 10 items per page and 400 total items. Done means providing a clear example that shows how this API data is connected to pagination.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.