https://programmingwithmosh.com/react/build-a-react-calendar-component-from-scratch/Class Component로 작성된 Calendar 코드를 React Hooks 형태로 리팩토링하는 중 이전