import {useRef} from 'react'; function test(){ const select = useRef(); const onChange = (e) => { 작업~ select.current.이벤트 } return( <input ref={select} /> ) }