React's useRef hook is used to store references to DOM elements. ... To do this, create the ref, and then pass it into the element:.
確定! 回上一頁