When loading data for something like a product page, there is prerequisites before we can query the data. As the app grows it's easy to add more and more step in the init function.
It might be convenient to have one place where you put all the stuff that needs to be done before displaying any page. Unfortunately it can become quite slow to load any page. A bit of customization for each case might be a good idea to have a lower load time.