brocoders / redux-async-connect

It allows you to request async data, store them in redux state and connect them to your react component.
645 stars 103 forks source link

loadOnServer is not in sync with AsyncConnect #103

Open Dindaleon opened 7 years ago

Dindaleon commented 7 years ago

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.

tomCollinson commented 6 years ago

Are you naming the component in the route?