// tutorial1.js
var CommentBox = React.createClass({
render: function() {
return (
<div className="commentBox">
Hello, world! I am a CommentBox.
</div>
);
}
});
React.render(
<CommentBox />,
document.getElementById('content')
);
相关文章
- vue 中 使用 element-ui 发送请求前 校验全部表单,报警告: [Element Warn][Form]model is required for validate to work!
- Mobility Model and Routing Model about the ONE
- The Properties of Posterior of Topic Model
- Project build error: Non-resolvable parent POM for model:maven01:0.0.1-SNAPSHOT
- Swagger怎么没有你要的model?一个注解帮你解决
- 使用 Django Model 构建强大的数据库模型
- 【弄nèng - Activiti6】Activiti6入门篇(二十二)—— 使用activiti-app创建流程MODEL
- 当今流行的 React.js 适用于怎样的 Web App?
- 【转】React.js 概览
- 重新想象 Windows 8 Store Apps (52) - 绑定: 与 Element Model Indexer Style RelativeSource 绑定, 以及绑定中的数据转换