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

How to perform a synchronous call? #100

Closed mauricioklein closed 1 year ago

mauricioklein commented 7 years ago

Hello!

I would appreciate some help with this situation:

I'm using asyncConnect to pre-load some data from API before performing the server side rendering. But now, I need to load another data when the first one has finished.

For example: On asyncConnect I fetch all the users. After all the users have been loaded, I need to fetch their subscriptions.

How can I handle a synchronous call on asyncConnect?

Thanks!