Skip to content

Instantly share code, notes, and snippets.

@vijayrawatsan
Created November 20, 2015 16:14
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 vijayrawatsan/65d6f90952f08acfba19 to your computer and use it in GitHub Desktop.
Save vijayrawatsan/65d6f90952f08acfba19 to your computer and use it in GitHub Desktop.
React Create Class Live Template
var React = require('react');
var $NAME$ = React.createClass({
getInitialState: function() {
return {
};
},
componentWillMount: function() {
},
componentDidMount: function() {
},
render: function () {
return (
<div className="$NAME$">
$END$
</div>
)
}
});
module.exports = $NAME$;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment