react-native-progress icon indicating copy to clipboard operation
react-native-progress copied to clipboard

componentWillReceiveProps is deprecated

Open rochapablo opened this issue 5 years ago • 24 comments

W/ReactNativeJS: Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.

Please update the following components: ProgressBar

Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks
"react": "16.8.6",
"react-native": "0.60.3",
"react-native-progress": "^3.6.0",

rochapablo avatar Jul 18 '19 16:07 rochapablo

I got the same warning for other components as well

  • ProgressCircle
  • withAnimation(ProgressCircle)
  • CircleSnail

jbrodriguez avatar Aug 08 '19 22:08 jbrodriguez

Me too

"react": "16.8.6", "react-native": "0.60.4", "react-native-progress": "^3.6.0",

LuigiMaestrelli avatar Aug 12 '19 14:08 LuigiMaestrelli

+1

Spacarar avatar Aug 14 '19 21:08 Spacarar

+1

jasonwadsworth avatar Aug 15 '19 18:08 jasonwadsworth

++1

ekameleon avatar Aug 21 '19 14:08 ekameleon

same warn

v-vashchenko avatar Aug 23 '19 08:08 v-vashchenko

+1

dpyeates avatar Aug 26 '19 09:08 dpyeates

+1

philong9192 avatar Aug 27 '19 07:08 philong9192

+1

ivanhuay avatar Sep 12 '19 14:09 ivanhuay

+1

matias22x avatar Sep 12 '19 14:09 matias22x

+1

HernanGH avatar Sep 12 '19 14:09 HernanGH

Same issue!

Martian2Lee avatar Sep 21 '19 21:09 Martian2Lee

+1

matamicen avatar Sep 26 '19 14:09 matamicen

Facing the same warning. Its okay as long as it is a warning. Just make sure not to upgrade react version before checking through updates of used libraries. I suppose the collaborators of the library will handle it soon as later versions will not have these methods and the library will break. "react": "16.8.6", "react-native": "0.60.5", "react-native-progress": "^3.6.0",

MurtazaEliyas avatar Sep 28 '19 06:09 MurtazaEliyas

+1

napcoder avatar Oct 08 '19 09:10 napcoder

There is an open pull request about this here : https://github.com/oblador/react-native-progress/pull/169

Any chance for merging these

pradhul-dev avatar Oct 11 '19 10:10 pradhul-dev

Yes please merge +1

ghost avatar Oct 15 '19 18:10 ghost

+1

rizaldirnm avatar Oct 16 '19 11:10 rizaldirnm

i get the same warning...

KumariShalini avatar Oct 21 '19 09:10 KumariShalini

Updating to the latest version (4.0.0) solve the warning. Thank you

LuigiMaestrelli avatar Oct 21 '19 11:10 LuigiMaestrelli

I still have this issue... I'm working with the newest version: v4.1.2

gertvdkolk avatar Sep 21 '20 08:09 gertvdkolk

No fixes yet for this?

leojle avatar Oct 23 '20 22:10 leojle

+1

mithunkalan avatar Jan 06 '21 09:01 mithunkalan

I know this is an old post, but it could be helpful. If you update the version in your package.json file just copy and paste the name in chrome ie react-redux-loading. Find the latest version on npmjs and input that version in your package.json, then do a npm install. Be sure to save a copy in case of any issues. I had three Please update warnings, and this method fixed them all.

nytegoth1 avatar Feb 22 '21 14:02 nytegoth1