Created
March 24, 2015 17:24
-
-
Save shubik/84d2d82f0461c4475170 to your computer and use it in GitHub Desktop.
Reactjs demo slide 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx React.DOM */ | |
define([ | |
'require', | |
'react' | |
], function (require) { | |
var React = require('react'); | |
return React.createClass({ | |
render: function () { | |
return <h2>A simple component</h2>; | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment