-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Checked that your issue isn't already filed: https://github.com/alloftech/alloftech.github.io/issues?q=is%3Aissue
Summary
As the blog page grows, it will be troublesome to scroll across a single webpage to go through all the blogs. Breaking it down to a 10 blog per page sequence will make it easier and more readable. So pagination is to be done such that with suppose 38 blogs in total, there with be 3 pages with 10 blogs each and last page with 8 blogs.
Motivation
It has always been a good practice to divide a huge chunk of data being displayed into smaller sections to make it load easier and faster without giving an overwhelming huge single webpage for everything.
Describe alternatives you've considered
Alternatives to pagination cab be displaying a Show More button which when clicked will load next x number of blogs. This would again just increase the scroll bar making it difficult to move back to any previously scrolled blogs if needed. Wherein, in case of pagination, one can remember the page number on which the previous blog resides and hop back with a click.
Additional context
While implementing pagination, one must make sure that it is not just for the dashboard page but for all other sections including category page, search results, etc.