- Pagination is really useful utility in the situation where user interface have to fetch & display a lot of data from an API
- Directly displaying all the fetched data would cause majorly 2 problems:
- It would ruin the user experience & user might get lost into the pool of data
- There is a high chance of our website to get bloated by fetching excessive data
- The above two problem can be solved by implementing pagination
- Pagination is all about fetching & displaying data in smaller chunks across various pages
Checkout this React-App by clicking here.
To install this project to your local machine follow the steps mentioned just below:
- Fork this repository
- Now simple clone it to your local machine
- Make sure you are in correct directory i.e. inside
react-pagination
- Install all the dependencies of the project by running
npm install
into your terminal
After successful installation you are just a step away from running it locally
- Run
npm start
to run react-scripts