Best pattern for pagination for Meteor

前端 未结 2 1241
攒了一身酷
攒了一身酷 2020-12-14 12:53

Pattern for pagination is currently on a after 1.0 roadmap for Meteor. Are there any examples or suggestions how to do it now? So how to nicely do an infinite scroll by subs

2条回答
  •  死守一世寂寞
    2020-12-14 13:12

    I recommend that you try my package, Pages: https://github.com/alethes/meteor-pages

    It's extremely easy to use (you can set it up with just one line of JavaScript), yet very customizable. It features: incremental subscriptions, local cache, neighbor prefetching, request throttling, easy integration, multiple paginations per page, bootstrap 2/3 styling, failure resistance, built-in iron-router support and a lot of settings that can be modified on the fly, without reloading the page.

提交回复
热议问题