()
| 95 | } |
| 96 | |
| 97 | handleChange() { |
| 98 | if (!this.isCurrentlyMounted) { |
| 99 | return; |
| 100 | } |
| 101 | |
| 102 | const nextState = this.getCurrentState(); |
| 103 | if (!shallowEqual(nextState, this.state)) { |
| 104 | this.setState(nextState); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | getCurrentState() { |
| 109 | const monitor = this.manager.getMonitor(); |
no test coverage detected