useRef will allow you to assign any value to its current property. Let's look at a quick example of assigning a ref to a DOM element in react:.
確定! 回上一頁