Re:Show HN: Careers for people not going to college, built w...
by sdybskiy on Wednesday August 05, 2015 @05:39PM
(#10013053)
I am using Flow Router https://github.com/kadirahq/flow-router to route the app. And this is the package I'm using for pagination https://atmospherejs.com/miguelalarcos/flow-router-paginatio.... So far it hasn't let me down (there are a few bugs with the subscriptions on each individual page) but if you play around with the work style filter you'll see the collection reactivity and how it's reflected on the subscription and pagination. Thanks for your feedback!
Waiting for Meteor to support pagination natively.
Re:Show HN: Careers for people not going to college, built w...
by sergiotapia on Wednesday August 05, 2015 @05:53PM
(#10013157)
My website also uses FlowRouter and flow-router-pagination. If you want to check out the source and see how it works, see here: https://github.com/sergiotapia/trovemarketplace
Re:Show HN: Careers for people not going to college, built w...
by grardb on Wednesday August 05, 2015 @05:42PM
(#10013073)
Thanks for the tip! I actually wanted to build something in Meteor a while ago, but couldn't figure out how to set up pagination (and infinite scrolling just seemed awkward in that specific case). It's nice to see that there are ways to get it working.
[Part 1] http://www.mrmoneymustache.com/2013/07/25/50-jobs-over-50000...
[Part 2] http://www.mrmoneymustache.com/2013/08/05/50-jobs-over-50000...
Quick question: How did you get pagination working? I haven't built anything big in Meteor, but I did go through the Discover Meteor book, and it said that Meteor doesn't lend itself well to pagination, so that you should use infinite scrolling. Does pagination break if the database is updated, or is it not reactive, or am I missing something?