Tutorials / sample code for pagination (and/or infinite scrolling)?


I’m having troubles implementing a pagination and am looking for good tutorials / sample code (for FlowRouter and Blaze). It would be great if the samples would explain how to implement infinite scrolling as well, but this is not a “must have”.

I already found the miguelalarcos:flow-router-pagination package, but I can’t get it to work, because it relies on tmeasday:publish-counts which itself does not seem to work properly with reywood:publish-composite (at least, I could not figure out how to set this up correctly). Aside from this, the sample code of flow-router-pagination uses route-level subscriptions, which is deprecated in FlowRouter and will be removed in the next major version.