The stale closures is a pitfall of React hooks when an outdated variable ... the log() closure called by the timer function every 2 seconds ...
確定! 回上一頁