As of the latest React Native, string refs are considered legacy. They're likely to be removed in one of the future releases.
All instances of string refs have been replaced with the new createRef API. This also makes it Strict Mode-compliant. Otherwise, the latest version of React Native with Strict Mode on throws this warning:
WARNING: A string ref, "Input", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using createRef() instead.
As of the latest React Native, string refs are considered legacy. They're likely to be removed in one of the future releases.
All instances of string refs have been replaced with the new createRef API. This also makes it Strict Mode-compliant. Otherwise, the latest version of React Native with Strict Mode on throws this warning: