mharris717 / ember-cli-pagination

Pagination Addon for Ember CLI
MIT License
273 stars 116 forks source link

Switch from server side to client side pagination and filtering when all records are loaded #245

Open MartinMalinda opened 6 years ago

MartinMalinda commented 6 years ago

Maybe this is already supported? I could not find it in the Readme

broerse commented 6 years ago

It is not supported and will miss all new records coming in if you do. Not sure what the usecase is. Perhaps take a look at https://bloggr.exmer.com (https://github.com/broerse/ember-cli-blog) that only uses client side but still handles new records coming in from the backend.

MartinMalinda commented 6 years ago

Sometimes records do not change much on BE and this should be quite safe. Or when there's just one page of records, you could do client-side filtering right away instead of server-side one.