React Base Fiddle (JSX)

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

by Steve Coffman

HTML

<script src="http://fb.me/JSXTransformer-0.12.1.js"></script>
<script src="http://fb.me/react-with-addons-0.12.1.js"></script>
<script src="http://facebook.github.io/react/js/jsfiddle-integration.js"></script>

JavaScript 1.7

var Hello = React.createClass({
    render: function() {
        return <div>Hello {this.props.name + this.props.name +  Math.random()}</div>;
    }
});
 
React.render(<Hello name="World" />, document.body);