react-native-slider
react-native-slider copied to clipboard
ComponentWillReceiveProps & ComponentWillMount are deprecated
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
looks like this repo is not being maintained.
Yes I know, I finally cloned the project and I made my own fix.
@vikjovanov it would be greatfull if you open a PR with your fix.
please check this using react hooks and functional component: https://www.npmjs.com/package/azir-slider
I made npm package with issue fixed here: https://www.npmjs.com/package/@brlja/react-native-slider
@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.