Skip to content

Instantly share code, notes, and snippets.

@shubik
Created March 24, 2015 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shubik/84d2d82f0461c4475170 to your computer and use it in GitHub Desktop.
Save shubik/84d2d82f0461c4475170 to your computer and use it in GitHub Desktop.
Reactjs demo slide 1
/** @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