Using useRef hook, we can use the Ref API in function components. ... useRef(null); function focusTitle() { inputRef.current.focus(); } ...
確定! 回上一頁