michaelbromley / ngx-pagination

Pagination for Angular
http://michaelbromley.github.io/ngx-pagination/
MIT License
1.21k stars 244 forks source link

why |pagination ? #369

Closed phil123456 closed 4 years ago

phil123456 commented 4 years ago

the whole idea is to provide pagination to the server not to fetch all the data and use a pipe to paginate them

the component does not display anything if I dont use the pipe

this is just useless

michaelbromley commented 4 years ago

Please fill out the issue template, or close the issue if there is no specific bug to report.

oza75 commented 4 years ago

Thanks @phil123456 The role of a pagination component is to display only links that will be used to navigate between pages. It is a bad idea to retrieve all the data at once and then paginate page by page. If the maintainers of this package can give us more explanation it will help us to understand their logic otherwise this component is very very useless

michaelbromley commented 4 years ago

Just gonna leave this link to the relevant readme section here: https://github.com/michaelbromley/ngx-pagination#server-side-paging

Next time you consider labeling a project "useless", please take the time to actually understand what you are talking about first.