(nextProps, nextState)
| 8006 | } |
| 8007 | |
| 8008 | function componentWillUpdate(nextProps, nextState) { |
| 8009 | try { |
| 8010 | var prevProps = this.props; |
| 8011 | var prevState = this.state; |
| 8012 | this.props = nextProps; |
| 8013 | this.state = nextState; |
| 8014 | this.__reactInternalSnapshotFlag = true; |
| 8015 | this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(prevProps, prevState); |
| 8016 | } finally { |
| 8017 | this.props = prevProps; |
| 8018 | this.state = prevState; |
| 8019 | } |
| 8020 | } // React may warn about cWM/cWRP/cWU methods being deprecated. |
| 8021 | // Add a flag to suppress these warnings for this special case. |
| 8022 | |
| 8023 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…