react-native-material-dropdown icon indicating copy to clipboard operation
react-native-material-dropdown copied to clipboard

Warning: componentWillUpdate has been renamed, and is not recommended for use.

Open rjtubera opened this issue 5 years ago • 2 comments

Hi I'm getting this warning

`Warning: componentWillUpdate 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.
  • Rename componentWillUpdate to UNSAFE_componentWillUpdate 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: TextField`

My react-native-material-textfield is already 0.16.1

I'm using expo sdk.

Do you have any ideas?

rjtubera avatar Jul 23 '20 08:07 rjtubera

https://github.com/n4kz/react-native-material-dropdown/pull/204

This is waiting a long time for merge

yaron1m avatar Jul 25 '20 14:07 yaron1m

Any updates on this? It seems the merge happened but I can't update the package with npm update

marcosvilela avatar Aug 14 '20 16:08 marcosvilela