質問編集履歴
1
補足と修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
以下のd
|
5
|
+
以下のdataset.jsに登録されているitemデータを取得し、各々を表示、値の変更がしたいのですが、うまくいきません。
|
6
6
|
|
7
7
|
Reactオンリーでは実装が難しいのか、データ設計の時点で駄目なのか、どうすればよいかご享受願います。
|
8
8
|
|
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
```javascript
|
40
40
|
|
41
|
-
const d
|
41
|
+
const dataset = {
|
42
42
|
|
43
43
|
item: [
|
44
44
|
|
@@ -92,10 +92,10 @@
|
|
92
92
|
|
93
93
|
```
|
94
94
|
|
95
|
-
src/App.jsx, src/components/Main.jsx, src/components/Items.jsx, src/components/Item.jsx, src/components/Cart.jsx これらのファイルで上記のやりたいことに挑戦しております
|
95
|
+
src/App.jsx, src/components/Main.jsx, src/components/Items.jsx, src/components/Item.jsx, src/components/Cart.jsx, src/dataset.jsx これらのファイルで上記のやりたいことに挑戦しております
|
96
96
|
|
97
97
|
[実際のソース](https://github.com/ChickBeans/crazy-shop)
|
98
98
|
|
99
99
|
|
100
100
|
|
101
|
-
わかりにくく面倒な質問かと思われますが、どなたか考え方や解決策・方向性を教えて下さい…。
|
101
|
+
質問の意図がわかりにくく面倒な質問かと思われますが、どなたか考え方や解決策・方向性を教えて下さい…。
|