input DOM element를 ref로 받아서, 버튼을 클릭하면 input의 value를 직접 빈 문자열로 수정하는 예제이다. 이 예제에서 useRef는 2번 경우로, ...
確定! 回上一頁