質問編集履歴
2
記載ミス
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Warning: Each child in a list should have a unique "key" prop.
|
1
|
+
Warning: Each child in a list should have a unique "key" prop.
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
|
23
|
+
See https://fb.me/react-warning-keys for more information.
|
24
24
|
|
25
25
|
```
|
26
26
|
|
1
記載ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,9 +32,9 @@
|
|
32
32
|
|
33
33
|
```js
|
34
34
|
|
35
|
-
{
|
35
|
+
{hoge.map((name, index) => (
|
36
36
|
|
37
|
-
<
|
37
|
+
<Hoge onClick={handleClick} key={index} />
|
38
38
|
|
39
39
|
))}
|
40
40
|
|