You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
611 B
30 lines
611 B
/** |
|
* @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', |
|
], |
|
};
|
|
|