I have a universal app where I need to log in a user when the app is loaded server side.
On server load, the connector AsyncConnect is being called on server load; however, it is being called after the function loadOnServer What can I do so that the AsyncConnect is already called in sync with loadOnServer? So that the store is ready when the app loads.
I have a universal app where I need to log in a user when the app is loaded server side.
On server load, the connector AsyncConnect is being called on server load; however, it is being called after the function
loadOnServer
What can I do so that the AsyncConnect is already called in sync with loadOnServer? So that the store is ready when the app loads.