Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚀 Issue Number
주요 작업
메인 페이지에서 하단 호버 시 재생되는 영상들이 백그라운드에서 스트리밍 중 이였습니다.
고민과 해결 과정
호버 시에 video를 설정하고 재생시켰습니다. 호버 후 에 영상을 언마운트 하여 최적화를 구현했습니다.
또한 컴포넌트가 들고 있던 플레이어 호버 상태 및 영상 마운트 과정을 커스텀훅에 위임하여 추상화했습니다.
📸 Screenshots
최적화 전

최적화 후

🔜 추가 내용 (선택)