const inputElement = useRef(null) //例: inputElement.currentで <input type="text" /> を参照 <input ref={inputElement} type="text" ...
確定! 回上一頁