STEP 4:在使用者點擊向下箭頭時,透過 setCount 方法將變數 count 減1. // STEP 1: 從React 物件中取出`useState` 方法const { useState } = React; const Counter = () => ...
確定! 回上一頁