Fix TRI-84: 성능 향상을 위한 이미지 및 컴포넌트 로딩 최적화#77
Merged
DreamPaste merged 13 commits intomainfrom Sep 15, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📦 Pull Request
📝 요약(Summary)
성능 향상을 위해 이미지 최적화 및 lazy loading을 적용했습니다.
기존 lighthouse 분석
개선된 lighthouse 분석
🚀 컴포넌트별 최적화 작업 내역
1. 🎯 wsrvLoader (이미지 로더)
파일:
src/components/common/wsrvLoader.tsx최적화 내용
&af파라미터로 이미지 품질 자동 최적화성능 효과
2. 🖼️ ActivityImageViewer (이미지 뷰어)
파일:
src/components/pages/activities/ActivityImageViewer.tsx최적화 내용
useImageWithFallback훅으로 이미지 로드 실패 대응layoutId와whileHover애니메이션으로 부드러운 UX성능 효과
3. 🔍 ImageGalleryModal (이미지 갤러리 모달)
파일:
src/components/pages/activities/ImageGalleryModal.tsx최적화 내용
성능 효과
4. ⭐ ReviewCard (리뷰 카드)
파일:
src/components/pages/activities/ReviewCard.tsx최적화 내용
성능 효과
5. 📱 ActivityClientPage (메인 페이지)
파일:
src/app/activities/[activityId]/ActivityClientPage.tsx최적화 내용
성능 효과
6. 🗺️ NaverMap (네이버 지도)
파일:
src/components/common/naverMaps/NaverMap.tsx최적화 내용
성능 효과
7. 🎭 애니메이션 컴포넌트 최적화
error.tsx
파일:
src/app/error.tsxnot-found.tsx
파일:
src/app/activities/[activityId]/not-found.tsx성능 효과
🔧 새로 생성된 훅
useIntersectionObserver
파일:
src/hooks/useIntersectionObserver.ts기능
사용 컴포넌트