react-native-select-multiple icon indicating copy to clipboard operation
react-native-select-multiple copied to clipboard

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

Open bilelmoussa opened this issue 3 years ago • 6 comments

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles 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: %s, SelectMultiple

bilelmoussa avatar May 04 '21 10:05 bilelmoussa

I'm having this problem too.

iqor avatar May 11 '21 11:05 iqor

The same

lancelancelance7 avatar May 23 '21 23:05 lancelancelance7

same

lfelguetac avatar Jun 02 '21 15:06 lfelguetac

Duplicate of https://github.com/tableflip/react-native-select-multiple/issues/39

bradjones1 avatar Jan 10 '22 18:01 bradjones1

same problem (

GitForAndrey avatar Jul 10 '22 11:07 GitForAndrey