To create a basic clock in React, we can use setInterval in componentDidMount and optionally clear it in componentWillUnmount if relevant.
確定! 回上一頁