First React in Subscribers.

This commit is contained in:
marco
2015-08-20 20:13:12 +02:00
parent eda2188611
commit ec0c20a1c5
4 changed files with 2978 additions and 2982 deletions

View File

@ -0,0 +1,15 @@
define('subscribers', ['react'], function(React) {
var CommentBox = React.createClass({
render: function() {
return (
<div className="commentBox">
Hello, world! I am a CommentBox.
</div>
);
}
});
React.render(
<CommentBox />,
document.getElementById('subscribers-container')
);
});