react-text-loop icon indicating copy to clipboard operation
react-text-loop copied to clipboard

componentWillReceiveProps warning with React 16.9

Open erwanriou opened this issue 5 years ago • 5 comments

Due to the use of react-motion, this library have issue with the componentWillReceiveProps warning and might be deprecated in a further version of react.

I suggest to enhance the project to avoid using react-motion that seems an abandonned project. See below the link of the issue on react-motion that haven't been fix.

https://github.com/chenglou/react-motion/issues/569

why not trying using this library instead? https://github.com/react-spring/react-spring

erwanriou avatar Dec 03 '19 18:12 erwanriou

Hey @erwanriou, thanks for opening the issue!

Yes I've thought a few times about that over the years (https://github.com/braposo/react-text-loop/issues/7) but haven't had the time and the need to create a new version with a different library.

I'll probably do that soon though as it makes sense to use the benefits of hooks as well so there will probably be a new major version at some point that can only be used in React 16.3+

braposo avatar Dec 05 '19 22:12 braposo

Cool! Yeah lets make the transition to the hooks :)

erwanriou avatar Dec 06 '19 12:12 erwanriou

Any updates for this issue?

jacobclyne avatar Mar 08 '20 12:03 jacobclyne

I'm still getting this warning in the console, any plans to fix?

jacksonblankenship avatar Jul 22 '20 16:07 jacksonblankenship

Sorry, haven't been able to focus on this library in the past months but I'm now back to work on v3 so this will be fixed as part of that update.

braposo avatar Aug 25 '20 23:08 braposo