Created
June 4, 2015 07:20
-
-
Save milosdakic/1c6c9dc1119c1ef24707 to your computer and use it in GitHub Desktop.
React Component Skeleton
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
var Component = React.createClass({ | |
displayName: 'ComponentName', | |
propTypes: {}, | |
getDefaultProps: function() {}, | |
getInitialState: function() {}, | |
componentWillReceiveProps: function(nextProps) {} | |
componentWillMount: function() {}, | |
componentDidMount: function() {}, | |
componentWillUnmount: function() {}, | |
render: function() {}, | |
renderItem: function() {}, | |
renderItems: function() {} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment