본문 바로가기
Front_end/React

React) useRef - 컴포넌트의 width

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

댓글