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

Refactor componentWillReceiveProps in RevealBase

Open colinhemphill opened this issue 5 years ago • 18 comments

React 16.9.0 warns of the impending deprecation of componentWillReceiveProps:

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: RevealBase

colinhemphill avatar Aug 10 '19 19:08 colinhemphill

I got the same issue, do you already fix?

elalekey avatar Aug 14 '19 15:08 elalekey

+1

n0umankhan avatar Sep 27 '19 06:09 n0umankhan

+1

fobossalmeron avatar Sep 30 '19 17:09 fobossalmeron

+1

micktdj avatar Oct 06 '19 22:10 micktdj

+1

munmunsgcc avatar Oct 24 '19 01:10 munmunsgcc

+1

knobo avatar Nov 21 '19 08:11 knobo

+1

PedroRuiz avatar Nov 29 '19 11:11 PedroRuiz

+1

flosrn avatar Dec 15 '19 10:12 flosrn

+1

jacobpastorek avatar Dec 19 '19 10:12 jacobpastorek

still not fixed? :face_with_head_bandage:

bymoe avatar Jan 20 '20 22:01 bymoe

Any good forks? Did anyone create PR for this?

knobo avatar Jan 21 '20 08:01 knobo

+1

benaich avatar Feb 22 '20 16:02 benaich

I really would like a fix or a fork for this aswell. :/

giddorah avatar Mar 15 '20 10:03 giddorah

Waiting for a fix :)

rienkkk avatar Mar 21 '20 10:03 rienkkk

+fix please

rayantovi avatar Mar 26 '20 18:03 rayantovi

ditto

jackguoAtJogg avatar Apr 01 '20 18:04 jackguoAtJogg

+1

MikaCinc avatar May 26 '20 12:05 MikaCinc

Please don't ping this thread unless you know of any maintained forks. This package has not been updated in 2 years and +1s won't solve the issue. No merge for the fix is coming, so you should not be using this.

colinhemphill avatar May 28 '20 21:05 colinhemphill