Hey guys, was wondering what people’s current preferences were for when to use pub/sub vs Meteor methods.
For single document pages (eg: a show page), pub sub seems like a real winner to avoid having to refetch on each change.
For “index” pages (eg: tables of documents), using pub/sub is nice as it feels like the default Meteor way, you can also put reactive variables for limit, skip, etc and let the subscription update.
However subscriptions can be hard, especially when you have multiple publications publishing similar data. Methods are a nice, sane way of fetching data in a predictable way but I find the more you start using methods for fetching data the more you question the benefits of Meteor over say backend + API.
I guess maybe a combination of pub/sub and methods gives excellent flexibility.