Last active
December 8, 2015 10:48
-
-
Save teodragovic/3e28aed762a4dec656d4 to your computer and use it in GitHub Desktop.
React component boilerplate
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
'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