redux-async-connect icon indicating copy to clipboard operation
redux-async-connect copied to clipboard

loadOnServer is not in sync with AsyncConnect

Open Dindaleon opened this issue 8 years ago • 1 comments

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.

Dindaleon avatar Jan 09 '17 14:01 Dindaleon

Are you naming the component in the route?

tomCollinson avatar Oct 09 '17 09:10 tomCollinson