useRef hook's application is not just limited to providing refs to ... The setInterval closes over this value and runs setCount(count - 1) ...
確定! 回上一頁