123456789101112131415161718192021222324252627282930 |
- /**
- * @fileoverview lifecycle methods
- * @author Tan Nguyen
- */
- 'use strict';
- module.exports = {
- instance: [
- 'getDefaultProps',
- 'getInitialState',
- 'getChildContext',
- 'componentWillMount',
- 'UNSAFE_componentWillMount',
- 'componentDidMount',
- 'componentWillReceiveProps',
- 'UNSAFE_componentWillReceiveProps',
- 'shouldComponentUpdate',
- 'componentWillUpdate',
- 'UNSAFE_componentWillUpdate',
- 'getSnapshotBeforeUpdate',
- 'componentDidUpdate',
- 'componentDidCatch',
- 'componentWillUnmount',
- 'render',
- ],
- static: [
- 'getDerivedStateFromProps',
- ],
- };
|