注:在setCount中使用箭头函数是最好方式之一,只有一个timer生成. setCount((count) => count + 1). }, 2000). return () => {.
確定! 回上一頁