react-input-mask
react-input-mask copied to clipboard
Make this lib Strict Mode compliant
Getting the following error when using this lib in Strict Mode:
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of InputElement which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
This line seems to be the cause: https://github.com/sanniassin/react-input-mask/blob/master/src/index.js#L270
This should be fixed to avoid issues with Concurrent Mode (which will soon be released):
In Concurrent Mode, the lifecycle methods previously marked as “unsafe” actually are unsafe, and lead to bugs even more than in today’s React. We don’t recommend trying Concurrent Mode until your app is Strict Mode-compatible.
I have the same problem! Any solution for this topic?
Any ETA to fix this?
any?
Any news on this? Thank you!
Any news, meus camaradas?
I think that this lib was abandoned... =(
Are there any popular forks of this repository that is being actively maintained? It would be nice to get this fixed.
I have a fix for this here: https://github.com/sanniassin/react-input-mask/pull/308