Posts by Max • 13 points
1 post
-
0
votes1
answer40
viewsQ: Problems consuming api - React
I am consuming an api that returns an array of products with Axios, but it returns a Promise, and I cannot use it in my component, because at the time the component renders, the Promise is still not…