Front_end/React

React) useRef - 컴포넌트의 width

nomfang 2022. 4. 20. 02:40
728x90
반응형
ref.current.offsetWidth; // 렌더가 된 컴포넌트만 가져올 수 있다
반응형