useEffect () 讓我們在function component 內也可以實現class function 中的生命週期 componentDidMount() 、 componentDidUpdate() 和 componentWillUnmount() 。
確定! 回上一頁