JSFiddle - React, Tailwind, and code Playground
by vjeux
HTML
<script src="http://fb.me/react-js-fiddle-integration.js"></script>
JavaScript 1.7
/** @jsx React.DOM */
function t(attributes, child) {
return '(translated)' + child;
}
var Hello = React.createClass({
render: function() {
return <div>Hello <t>World</t></div>;
}
});
React.renderComponent(<Hello name="World" />, document.body);