|
@@ -1,7 +1,5 @@
|
|
let CommentBox = React.createClass({
|
|
let CommentBox = React.createClass({
|
|
render: function () {
|
|
render: function () {
|
|
- "use strict";
|
|
|
|
-
|
|
|
|
return (
|
|
return (
|
|
<div className="commentBox">
|
|
<div className="commentBox">
|
|
Hello, world: I am a CommentBox.
|
|
Hello, world: I am a CommentBox.
|
|
@@ -9,3 +7,8 @@ let CommentBox = React.createClass({
|
|
);
|
|
);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
+
|
|
|
|
+ReactDOM.render(
|
|
|
|
+ <CommentBox />,
|
|
|
|
+ document.getElementById("content")
|
|
|
|
+);
|