const element = React.useRef(null); // can access all the properties and methods of `element` via `element.current` ... return ( <SomeElement ref={element} ...
確定! 回上一頁