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

ComponentWillReceiveProps & ComponentWillMount are deprecated

Open vikjovanov opened this issue 5 years ago • 6 comments

Hi,

When I use react-native-slider, I have multiple warning box that says:

  • ComponentWillReceiveProps is deprecated and will be removed in the next major version.
  • ComponentWillMount is deprecated and will be removed in the next major version.

I just wanted to know if it is planned to fix that?

Thanks

vikjovanov avatar Aug 16 '19 20:08 vikjovanov

looks like this repo is not being maintained.

IntelliJAbhishek avatar Aug 21 '19 10:08 IntelliJAbhishek

Yes I know, I finally cloned the project and I made my own fix.

vikjovanov avatar Aug 21 '19 11:08 vikjovanov

@vikjovanov it would be greatfull if you open a PR with your fix.

IntelliJAbhishek avatar Aug 22 '19 15:08 IntelliJAbhishek

please check this using react hooks and functional component: https://www.npmjs.com/package/azir-slider

abodehq avatar Sep 22 '19 07:09 abodehq

I made npm package with issue fixed here: https://www.npmjs.com/package/@brlja/react-native-slider

brdar avatar Dec 15 '19 09:12 brdar

@jeanregisser , please take a quick look at the PR and maybe merge it 🙏

Causing annoying warnings on our side too and I really don't want to switch to another package.

superKalo avatar Feb 11 '20 10:02 superKalo