Should I set my routes from router.js or use Template-Level Subscriptions?

I have been using the router.js file for all routing but, I have problems like having to use a template helper to find all but one of my subscriptions per route in minimongo; as if only one of the subscription is executed on the client side. Is routing using Template-Level Subscriptions better? I it possible to create controllers when using Template-Level Subscriptions.

I am not sure your question is clear enough, maybe you should rephrase it.

Not a big fan of route-level subscriptions, You should take a look at the Subscription Manager!

1 Like

Check out this article on placing subscriptions in the templates. In my opinion placing subs in the router works best for small apps and template level subs work better on large apps. Then your router only does routing.

1 Like