もっと詳しく

フォームの作成と値の更新

test.js
[value, setValue] = React.useState(“”)

で、変数とその値の更新の関数を宣言できます。setValue(xxx)を実行する度にvalueがxxxに更…