ex) const refContainer = useRef(initialValue);
ps. 리액트에서는 js와는 달리 어떤 조건없이 dom을 직접적으로 접근할 수 없다.
https://chanhuiseok.github.io/posts/react-7/ https://jiiiihong.tistory.com/entry/useRef-%EB%9E%80