Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- const React = require('react');
- const Component = React.createClass({
- displayName: 'DisplayName',
- propTypes: {},
- // init
- getDefaultProps: function() {},
- // init
- getInitialState: function() {},
- // props
- componentWillReceiveProps: function() {},
- // state, props
- shouldComponentUpdate: function() {},
- // init
- componentWillMount: function() {},
- // state, props
- componentWillUpdate: function() {},
- // init, state, props
- render: function() {},
- // init
- componentDidMount: function() {},
- // state, props
- componentDidUpdate: function() {},
- // umount
- componentWillUnmount: function() {}
- });
- module.exports = Component;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement