기존 방법 -> setLoading을 이용 새로운 방법 -> useRef의 current를 이용
기존 방법 -> setLoading을 이용
새로운 방법 -> useRef의 current를 이용