(b, cb)
| 151 | } |
| 152 | |
| 153 | maybeSetState(b, cb) { |
| 154 | if (isEqualSubset(this.state, b)) return cb(); |
| 155 | |
| 156 | this.setState(b, cb); |
| 157 | } |
| 158 | |
| 159 | componentWillUnmount() { |
| 160 | window.removeEventListener('resize', this.updateFrameAndClearCache); |
no test coverage detected