useEffect 的使用時機類似在傳統class 中使用 componentDidMount ... const result = await axios(`https://hn.algolia.com/api/v1/search?query=${queryString}`);
確定! 回上一頁