Skip to content

Instantly share code, notes, and snippets.

@teodragovic
Last active December 8, 2015 10:48
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 teodragovic/3e28aed762a4dec656d4 to your computer and use it in GitHub Desktop.
Save teodragovic/3e28aed762a4dec656d4 to your computer and use it in GitHub Desktop.
React component boilerplate
'use strict';
const _ = require('lodash');
const React = require('react');
module.exports = React.createClass({
displayName: '',
mixins: [],
propTypes: {
},
getDefaultProps() {
return {
};
},
getInitialState() {
return {
};
},
componentDidMount() {
},
componentWillUnmount() {
},
render() {
return (
<div>
</div>
);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment