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

in the latest version of react we get the following warning due to the use of deprecated APIs. Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Open samals opened this issue 5 years ago • 5 comments

samals avatar Aug 26 '19 20:08 samals

@olahol is there any plans of changing it to react hooks or replacing the componentWillReceiveProps to componentDidUpdate ? As of now just to avoid the warning on react 16.9.0 temporarily componentWillReceiveProps could be changed to UNSAFE_(). I could create a PR for the same too, If you don't have any plan to do so

samals avatar Aug 26 '19 22:08 samals

@olahol is there any plans of changing it to react hooks or replacing the componentWillReceiveProps to componentDidUpdate ? As of now just to avoid the warning on react 16.9.0 temporarily componentWillReceiveProps could be changed to UNSAFE_(). I could create a PR for the same too, If you don't have any plan to do so

Hi Use edited version of it.

index.js.zip

ma2783930 avatar Dec 07 '19 09:12 ma2783930

@samals @olahol will there be an update addressing this issue?

Hurtindonkey avatar Dec 18 '19 00:12 Hurtindonkey

I created new package for this problem. https://www.npmjs.com/package/react-tagsinput-special

mehmetdemiray avatar Jul 15 '20 08:07 mehmetdemiray

@mehmetdemiray Thank you for this, works well!

andree-rehnberg avatar Jul 24 '20 09:07 andree-rehnberg