useRef 是常用的API,但還有一個 createRef 的API,你知道他們的區別嗎?通過React. ... function Image(props) { const ref = useRef(null); ...
確定! 回上一頁