I'm working on a Meteor app with Flow-Router.
I'm retrieving an entire user list (multiple users), by creating a publish function that publishes all users. In my route, I'm subscribing to this (Route based subscription) and then I create a template helper method in which I'm returning these users in a specific order.
I'm also displaying the profile of the current user. I tried to do this via the routes subscription (as explained above basically) but I could not get it to work. I then converted this to template based subscription and got it to work. So I put an autorun in the Template onCreated function, created a helper to retrieve that user and in the template I'm doing a Template.subscriptionsReady.
Long story short: can someone explain me what is the difference between Route based subscription and Template based subscription. I have been reading this multiple times, I can get both to work well but to be honest I still don't understand when to use what exactly.