Replacing componentDidMount & componentDidUpdate() ... Using lifecycle hooks, you'd use ComponentDidMount to generate a new number for the page load.
確定! 回上一頁