Skip to content

Commit

Permalink
Ignore latest React functions
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Apr 11, 2019
1 parent 48dda4d commit a46cdb3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/utils/isReactComponentMethod.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,21 @@ const componentMethods = [
'componentDidReceiveProps',
'componentDidUpdate',
'componentWillMount',
'UNSAFE_componentWillMount',
'componentWillReceiveProps',
'UNSAFE_componentWillReceiveProps',
'componentWillUnmount',
'componentWillUpdate',
'UNSAFE_componentWillUpdate',
'getChildContext',
'getDefaultProps',
'getInitialState',
'render',
'shouldComponentUpdate',
'getDerivedStateFromProps',
'getDerivedStateFromError',
'getSnapshotBeforeUpdate',
'componentDidCatch',
];

/**
Expand Down

0 comments on commit a46cdb3

Please sign in to comment.