質問編集履歴
1
追記1
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,6 +62,24 @@
|
|
62
62
|
|
63
63
|
```
|
64
64
|
|
65
|
+
<search呼び出し>(inputのonChange)
|
66
|
+
|
67
|
+
```ここに言語を入力
|
68
|
+
|
69
|
+
function onChangeField (e){
|
70
|
+
|
71
|
+
console.log(e.target.value)
|
72
|
+
|
73
|
+
setSearchWord(e.target.value)
|
74
|
+
|
75
|
+
setIngredientLoading(true)
|
76
|
+
|
77
|
+
search(e.target.value)
|
78
|
+
|
79
|
+
}
|
80
|
+
|
81
|
+
```
|
82
|
+
|
65
83
|
|
66
84
|
|
67
85
|
非同期処理関数内でsetStateを使うのがダメ?
|