JSFiddle - React, Tailwind, and code Playground

by vjeux

HTML

<script src="http://fooo.fr/~vjeux/fb/react/build/react.js"></script>
<script src="http://fooo.fr/~vjeux/fb/react/build/JSXTransformer.js"></script>
<script src="http://fb.me/react-js-fiddle-integration.js"></script>

JavaScript 1.7

/** @jsx React.DOM */

var Hello = React.createClass({
    render: function() {
        console.log(this.props.children);
        return <div></div>;
    }
});
 
React.renderComponent(<Hello>{1} {[2, [3]]}</Hello>, document.body);