Pass the ref object to the element's ref attribute. React will set inputRef.current to the input DOM node after the element is committed.
Question 7 of 20 in useRef