JSFiddle - React, Tailwind, and code Playground
by Ville Anttonen
HTML
<script src="http://fb.me/react-with-addons-0.9.0.js"></script>
<script src="http://fb.me/JSXTransformer-0.9.0.js"></script>
<script src="http://fb.me/react-js-fiddle-integration.js"></script>
JavaScript 1.7
/** @jsx React.DOM */
var Component = React.createClass({
componentWillMount : function(){
console.log("componentWillMount")
},
render : function(){
console.log("render");
return <p>component</p>
},
componentDidMount : function(){
console.log("componentDidMount")
}
});
React.renderComponent(<Component />, document.body)