質問編集履歴

3

修正

2017/02/13 07:13

投稿

kazuyu
kazuyu

スコア18

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

修正

2017/02/13 07:13

投稿

kazuyu
kazuyu

スコア18

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に修正

2017/02/11 20:23

投稿

kazuyu
kazuyu

スコア18

test CHANGED
File without changes
test CHANGED
@@ -92,7 +92,7 @@
92
92
 
93
93
  render () {
94
94
 
95
- return (<div>・・・</div>),
95
+ return (<div>{this.prop.title}</div>),
96
96
 
97
97
  document.getElementById ('content');
98
98