mantaskaveckas / react-siema

ReactSiema Demo
https://kaveckas.github.io/react-siema/
89 stars 39 forks source link

Unmounting - window.removeEventListener requires two parameters #2

Open waldnercharles opened 7 years ago

waldnercharles commented 7 years ago

In componentWillUnmount, window.removeEventListener(this.onResize) should be window.removeEventListener('resize', this.onResize)

74io commented 7 years ago

Yes. Please merge this. Great tool! Many thanks.