brocoders / redux-async-connect

It allows you to request async data, store them in redux state and connect them to your react component.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to perform a synchronous call?

mauricioklein opened this issue · comments

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!