DEV Community

Multiple API calls.

Sarah Temidayo A. on May 25, 2022

How do I implement multiple API calls in React?

Collapse
 
dhanidayo profile image
Sarah Temidayo A.

So, I have found a way around it. I used the axios.all() function. Thanks.

Collapse
 
dhanidayo profile image
Sarah Temidayo A.

Apparently, I got that this approach is deprecated, so I resorted to Promise.