My components are not updated when data arrives from fetch

后端 未结 0 600
醉酒成梦
醉酒成梦 2020-11-28 21:39

Here is my code:

function StockCard(props) {
  const [FetchInterval, setFetchInterval] = useState(300000);
  const [StockData, setStockData] = useState({});
          


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