TypeScript React에서 useRef의 3가지 정의와 각각의 적절한 사용법