Focusing an input is a DOM imperative action, so a ref can be appropriate.
Question 16 of 20 in forwardRef Quiz