What happens is that useEffect in the useInterval Hook captures the count from the first render with the initial value, which is 0 .
確定! 回上一頁