react 공식홈페이지에도 나와있지만 더 좋은 예시와 함께 정리한 블로그가 있어 추천드립니다. https://dmitripavlutin.com/react-useref/ React useRef() Hook Explained in 3 Steps React.useRef() hook creates persisted mutable values (aka references or refs). refs are used to access DOM elements. dmitripavlutin.com 핵심 내용은 Calling const reference = useRef(initialValue) with the initial value returns a special object named reference. The refe..