I'm wondering is there any technique or pattern that I can use to prioritizing the oninit
call?
I have main component (MAIN.cmp
) and within it I have few other components Child1.cmp
, Child2.cmp
and Child2.cmp
so what I want is once the page loads I want the MAIN.cmp
onInit to load first before it goes to the child.cmp.
How would you go after this? any ideas