Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. 'use strict';
  2.  
  3. const React = require('react');
  4.  
  5. const Component = React.createClass({
  6. displayName: 'DisplayName',
  7. propTypes: {},
  8.  
  9. // init
  10. getDefaultProps: function() {},
  11.  
  12. // init
  13. getInitialState: function() {},
  14.  
  15. // props
  16. componentWillReceiveProps: function() {},
  17.  
  18. // state, props
  19. shouldComponentUpdate: function() {},
  20.  
  21. // init
  22. componentWillMount: function() {},
  23.  
  24. // state, props
  25. componentWillUpdate: function() {},
  26.  
  27. // init, state, props
  28. render: function() {},
  29.  
  30. // init
  31. componentDidMount: function() {},
  32.  
  33. // state, props
  34. componentDidUpdate: function() {},
  35.  
  36. // umount
  37. componentWillUnmount: function() {}
  38. });
  39.  
  40. module.exports = Component;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement