useEffect(() => { const timerId = setTimeout(() => { // do something }, 2000); return () => clearTimeout(timerId); }, []); // ... This would ...
確定! 回上一頁