How to perform a synchronous call?
mauricioklein opened this issue · comments
Mauricio Klein commented
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!