How to set the results of multiple api calls into an array - React

前端 未结 0 1216
再見小時候
再見小時候 2021-01-23 04:11

I have a component where i am display information about products. I have my first api call as:

  const [products, setProducts] = useState([]);
  useEffect(() =>         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题