Skip to content

Instantly share code, notes, and snippets.

@milosdakic
Created June 4, 2015 07:20
Show Gist options
  • Save milosdakic/1c6c9dc1119c1ef24707 to your computer and use it in GitHub Desktop.
Save milosdakic/1c6c9dc1119c1ef24707 to your computer and use it in GitHub Desktop.
React Component Skeleton
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