今天終於要介紹React hooks 中的第一個hook 了- useState,Start! ... 這邊使用到array 的解構語法,也就是將useState 回傳的array 中的值個別取出來,counter 為state ...
確定! 回上一頁