The docs say the method should exists on the `ref` but I cannot find any such method. I'm using the `useRef` hook in a functional component.