How to optimally combine multiple axios responses
问题 I am working with a React app. I have to create 2 objects using responses from 3 different APIs. For example: DataObject1 will be created using API1 and API2 DataObject2 will be created using API1, API2, and API3 So, I am thinking about what would be the most optimal way of doing this by making sure 1 call each API only once. I was thinking this: const requestOne = axios.get(API1); const requestTwo = axios.get(API2); const requestThree = axios.get(API3); axios.all([requestOne, requestTwo,