Open nfantone opened 6 years ago
In order to avoid memory leaks, component should clean after itself and call removeEventListener for every listener declared on componentDidMount.
removeEventListener
componentDidMount
See related official docs.
In order to avoid memory leaks, component should clean after itself and call
removeEventListener
for every listener declared oncomponentDidMount
.See related official docs.