React Base Fiddle (JSX)

Starting point for creating JSFiddles with React. This uses React with Addons.

by sazakharov

HTML

<script src="http://www.jimsproch.com/react/babel-browser.js"></script>
<script src="http://www.jimsproch.com/react/future/react.js"></script>
<script src="http://www.jimsproch.com/react/future/react-dom.js"></script>
<script src="http://www.jimsproch.com/react/future/react-dom-server.js"></script>

<div id="container">
    <!-- This element's contents will be replaced with your component. -->
</div>

Babel + JSX

class Hello extends React.Component {
  render() {
    return <div>Hello {this.props.name}</div>;
  }
}

ReactDOM.render(
  <Hello name="World" />,
  document.getElementById('container')
);