As of React 19, useRef will now require an argument ([reference](https://react.dev/blog/2024/04/25/react-19-upgrade-guide#useref-requires-argument)). Within the monorepo there are currently 35 instances where useRef is used without any arguments. Parent issue: https://github.com/Automattic/jetpack/issues/37951