const RefsWithHooks = () => { const inputRef = useRef(null); return ( <div> <input ref={inputRef} /> <button onClick={() => inputRef.current.
確定! 回上一頁