react-marquee icon indicating copy to clipboard operation
react-marquee copied to clipboard

The animate() function still running after component unmount

Open jackey opened this issue 8 years ago • 3 comments

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

jackey avatar Jan 08 '17 01:01 jackey

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

jasonslyvia avatar Jan 09 '17 01:01 jasonslyvia

I have the same problem as well.. are you guys working on router v4?

saitaiky avatar Jul 05 '17 04:07 saitaiky

Before L130 moves to L126

avatarxy avatar Jun 12 '18 14:06 avatarxy