Last active
January 5, 2016 01:19
-
-
Save kenaniah/96bdb3a27ffc835aec20 to your computer and use it in GitHub Desktop.
React Template
This file contains hidden or 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
const reactComponent = React.createClass({ | |
mixins: [], | |
propTypes: {}, | |
// Initial defaults | |
//getDefaultProps: function(){}, | |
//getInitialState: function(){}, | |
// Property change lifecycle | |
//componentWillReceiveProps: function(newProps){}, | |
// DOM lifecycle | |
//componentWillMount: function(){}, | |
//componentDidMount: function(){}, | |
//componentWillUnmount: function(){}, | |
// Rendering lifecycle | |
//shouldComponentUpdate: function(newProps, newState){}, | |
//componentWillUpdate: function(newProps, newState){}, | |
//componentDidUpdate: function(oldProps, oldState){}, | |
// Rendering | |
render: function(){ | |
return ( | |
<span /> | |
) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment