functional component 에서는 useRef 를 쓰고 class functional 에서는 createRef 쓰라고 함. 왜? 왜 두가지로 나뉜걸까? https://ko.reactjs.org/docs/forwarding-refs.html