When changing between routes, is it possible transition to template/component only AFTER the new subscriptions are ready? (FlowRouter)


I want to do a YouTube style loading bar when user clicks a router, and the page doesnt change until the data are ready, is it possible to achieve this ?


There are several ways. The easiest is to use {{#if Template.subscriptionsReady}}. See more here.


Sorry Steve but that is not what i am looking for.
I need to stay on the current page until the subscription is ready, so the user can still be engaged with the content while waiting for next page to load.