當按下refresh 時( useState 這樣的用法可以在React FAQ 中看到),整個component 重新render 也會自動focus 在input 上面。 callback ref 是什麼?
確定! 回上一頁