I have 2 modules.
There are authModule and userPageModule.
authModule is get user login status by initialactions.
userPageModule is used to display the user page using the fetched login status by authModule.
Therefore, I want these modules to be loaded in the correct order.
But looks like userPageModule will be loaded without waiting for initialaction of authModule to complete to me.
Is the order of this process correct? If so, how can I do what I want?
I have 2 modules. There are
authModule
anduserPageModule
.authModule
is get user login status by initialactions.userPageModule
is used to display the user page using the fetched login status byauthModule
.Therefore, I want these modules to be loaded in the correct order. But looks like
userPageModule
will be loaded without waiting for initialaction ofauthModule
to complete to me.Is the order of this process correct? If so, how can I do what I want?