To stop an interval, you can use the clearInterval() method. ... ... useEffect(() => { const interval = setInterval(() => { setSeconds(seconds => seconds + 1); }, ...
確定! 回上一頁