React Base Fiddle (JSX)

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

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.1/JSXTransformer.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.1/react-with-addons.js"></script>
<script src="https://facebook.github.io/react/js/jsfiddle-integration.js"></script>

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

JavaScript 1.7

var Hello = React.createClass({
    render: function() {
        var option1 = "---"
        var option2 = "Hello"
        var option3 = "World"
        return <select defaultChecked='World'> <option value={option1}>{option1}</option><option value={option2}>{option2}</option><option value={option3}>{option3}</option></select>;
    }
});
 
React.render(<Hello name="World" />, document.getElementById('container'));