<main>
</main>
var HelloWorld = React.createClass({
  render() {
    return (<div className="hello-world">
        <p>Hello {1+1} World</p>
      </div>)    
  }
});

var App = React.createClass({
  render() {
    return (<div>
        <HelloWorld />
        <HelloWorld />
        <HelloWorld />
        <HelloWorld />
      </div>);
    
  }
});

ReactDOM.render(React.createElement(App), document.querySelector('main'));
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://fb.me/react-15.1.0.min.js
  2. https://fb.me/react-dom-15.1.0.min.js