react-numeric-input
react-numeric-input copied to clipboard
Deprecation warning for incoming React 17
Hi, After updating React to 16.9.0, I am getting these warnings in Firefox:

By the way, is this project still active ? Thanks,
By the way, is this project still active ?
Does not look like this :(
It's inactivate, I think. But I'm interested in maintain it Contact me if anyone else already have some progress.
Do you know of any maintained fork?
Fyi, I just moved to the normal html <input type="number">
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/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://reactjs.org/link/derived-state
- Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run
npx react-codemod rename-unsafe-lifecyclesin your project source folder.Please update the following components: NumericInput
It would be very easy to fix this warning.
Simply Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps in line 410 of this file
this project seems dead at this point...
Anyone with a managed fork containing this fix? This issue will become even more problematic when upgrading to the newly released React 18...