react-marquee
react-marquee copied to clipboard
The animate() function still running after component unmount
Here's error
warning.js:36 Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the Marquee component.
the error is from this file 137line: src/index.js
Hmm, I did clear the timeout when unmount, not sure why it still fired.
https://github.com/jasonslyvia/react-marquee/blob/eba231a4db3674a4dae653106a13117fa85658e5/src/index.js#L52
I have the same problem as well.. are you guys working on router v4?
Before L130 moves to L126