We can store our timers in a ref or a variable in the useEffect callback so we can clear them when we no ... clearInterval 的用法是clearInterval(id)。
確定! 回上一頁