Open waldnercharles opened 7 years ago
In componentWillUnmount, window.removeEventListener(this.onResize) should be window.removeEventListener('resize', this.onResize)
componentWillUnmount
window.removeEventListener(this.onResize)
window.removeEventListener('resize', this.onResize)
Yes. Please merge this. Great tool! Many thanks.
In
componentWillUnmount
,window.removeEventListener(this.onResize)
should bewindow.removeEventListener('resize', this.onResize)