Nativebase: Warning componentWillReceiveProps/ componentWillUpdate is deprecated

Created on 8 Apr 2018  路  4Comments  路  Source: GeekyAnts/NativeBase

Version

react-native: 0.55.0
react: 16.3.0-alpha.0
native-base: 2.4.1

Issues

Warning componentWillReceiveProps/ componentWillUpdate is deprecated and will be removed in the next major version.

I don't know how to fix the problem, unless use react-native lower version.

duplicate

Most helpful comment

It's not a big problem, everything will still work, but those methods will probably be removed in React 17. Deprecated doesn't mean it doesn't work, it just means there is a better replacement for it. If you use them while developing your app, you can use the new lifecycle methods described in the blog post below. If they are maybe used in native-base, then it's nothing you can do until they update this repository, or if you submit a pull request fixing this "issue".

Everything is detailed here on the official React blog in THIS POST

EDIT: This issues is similair to #1665

All 4 comments

It's not a big problem, everything will still work, but those methods will probably be removed in React 17. Deprecated doesn't mean it doesn't work, it just means there is a better replacement for it. If you use them while developing your app, you can use the new lifecycle methods described in the blog post below. If they are maybe used in native-base, then it's nothing you can do until they update this repository, or if you submit a pull request fixing this "issue".

Everything is detailed here on the official React blog in THIS POST

EDIT: This issues is similair to #1665

1665

I'm still seeing this issue

I'm still seeing this issue ^2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Cotel picture Cotel  路  3Comments

natashache picture natashache  路  3Comments

eggybot picture eggybot  路  3Comments

inv2004 picture inv2004  路  3Comments

agersoncgps picture agersoncgps  路  3Comments