React 16.8 +, Functional component. const ScrollDemo = () => { const myRef = useRef(null) const executeScroll = () => myRef.current.
確定! 回上一頁