理解分別以 useRef / useState 建立組件變數時的差異,並感受各自的適用 ... 另外還需要特別注意setInterval 實體的清除時機,避免不小心re-render ...
確定! 回上一頁