Open lucklove opened 6 years ago
Event listener is not removed in componentWillUnmount sinse the result of () => this.handleResize() == () => this.handleResize() is false. It cause warning in debug mode.
() => this.handleResize() == () => this.handleResize()
Event listener is not removed in componentWillUnmount sinse the result of
() => this.handleResize() == () => this.handleResize()
is false. It cause warning in debug mode.