Skip to content

Instantly share code, notes, and snippets.

@zpao
Created February 12, 2014 18:13
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 zpao/8961292 to your computer and use it in GitHub Desktop.
Save zpao/8961292 to your computer and use it in GitHub Desktop.
module.exports = {
componentWillMount: function() {
this.beforeMount && this.beforeMount();
}
componentWillUpdate: repeat,
componentDidMount: func that calls afterRender,
componentDidUpdate: repeate
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment