私のコードで何が問題になっていますか? jsbinのコンソールにエラーは表示されません。React hello worldがES6で動作しない
http://jsbin.com/susumidode/edit?js,console,output
Class secondComponenent extends React.Component {
render(){
return (
<p>My id is: {this.props.id}</p>
);
}
}
React.render(
<secondComponenent id="abc">,
document.getElementById('react_example')
);
そしてまたどのようReact.renderで複数のコンポーネントをレンダリングしますか()?
クラス名は大文字で始まる必要があります。 –
http://imgur.com/a/KuPUr – Quentin
問題を解決しない@Whitcik – dfox