useEffect (() => { const timer = setTimeout(() => { setCount(count + 1); }, 1000); return () => clearTimeout(timer); });. 这种没有任何依赖项的 ...
確定! 回上一頁