質問編集履歴
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -112,6 +112,6 @@
|
|
112
112
|
|
113
113
|
これをReact.jsに書換えるため、テンプレートエンジンを
|
114
114
|
|
115
|
-
.ejsから.jsxに修正してindex.jsxとしてレンダー
|
115
|
+
.ejsから.jsxに修正してindex.jsxとしてレンダーして
|
116
116
|
|
117
|
-
表示させ
|
117
|
+
表示させてきた。
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
render () {
|
94
94
|
|
95
|
-
return (<div>{this.prop.title}</div>),
|
95
|
+
return (<div>{this.props.title}</div>),
|
96
96
|
|
97
97
|
document.getElementById ('content');
|
98
98
|
|
1
propに修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
render () {
|
94
94
|
|
95
|
-
return (<div>
|
95
|
+
return (<div>{this.prop.title}</div>),
|
96
96
|
|
97
97
|
document.getElementById ('content');
|
98
98
|
|