Skip to content

Conversation

@eunsoA
Copy link
Collaborator

@eunsoA eunsoA commented Sep 9, 2025

#️⃣ 연관된 이슈

#85

📝 훅 간단 사용 설명

useProgress는 프로그레스 바의 진행률을 부드럽게 애니메이션화하는 커스텀 훅입니다.

주요 기능

  • 설정된 시간(duration) 동안 초기값에서 목표값까지 자동 진행
  • complete 함수로 언제든지 100%로 완료 가능
  • CSS transition과 함께 사용하여 부드러운 애니메이션 구현

기본 사용법

const { progress, complete } = useProgress({
  duration: 5000,    // 5초 동안
  initialProgress: 0, // 0%에서
  targetProgress: 90, // 90%까지 진행
});

활용 사례

  • 페이지 로딩 화면

스크린샷

link

@eunsoA eunsoA self-assigned this Sep 9, 2025
@eunsoA eunsoA added the 훅 개발 New feature or request label Sep 9, 2025
@vercel
Copy link

vercel bot commented Sep 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
2025-fe-hookdle-docs Ready Ready Preview Comment Sep 9, 2025 10:37am

Base automatically changed from dev to main September 21, 2025 10:20
@hoyyChoi hoyyChoi changed the base branch from main to dev September 22, 2025 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

훅 개발 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants