You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ShortsPage, MyPage에 AsyncBoundary를 적용하여 쇼츠 콘텐츠에 대한 로딩 및 에러 처리를 통합하였습니다.
에러 발생 시 500, 502, 503 등의 상태에 대해서는 재시도 버튼이 노출되도록 ErrorFallback 컴포넌트를 개선했습니다.
NotFound 페이지도 추가되어, 유효하지 않은 접근 시 fallback 대응하였습니다.
React.lazy와 Suspense를 사용하여 각 라우트마다 별도 JS chunk 파일 생성하도록 하였습니다.
neungdong
changed the title
feat(HIGH-47): ShortsPage에 AsyncBoundary 적용 및 비동기 로딩/에러 처리 개선
[REFACTOR] [HIGH-47] ShortsPage에 AsyncBoundary 적용 및 비동기 로딩/에러 처리 개선
Aug 3, 2025
The AsyncBoundary is used without a fallback or errorFallback, so users won’t see a loading indicator or custom error UI. Provide a loading spinner as fallback and your ErrorFallback component as errorFallback.
Why: Providing a fallback and errorFallback to AsyncBoundary improves UX by handling loading and error states, though the suggestion omits importing the Spinner component.
neungdong
changed the title
[REFACTOR] [HIGH-47] ShortsPage에 AsyncBoundary 적용 및 비동기 로딩/에러 처리 개선
[REFACTOR] [HIGH-47] ShortsPage, MyPage 비동기 로딩/에러 처리 개선 및 동적 임포트 적용
Aug 4, 2025
neungdong
changed the title
[REFACTOR] [HIGH-47] ShortsPage, MyPage 비동기 로딩/에러 처리 개선 및 동적 임포트 적용
[REFACTOR] [HIGH-47] ShortsPage, MyPage 비동기 로딩/에러 처리 개선 및 React.lazy 적용
Aug 4, 2025
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
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.
User description
✨ PR 세부 내용
ShortsPage, MyPage에 AsyncBoundary를 적용하여 쇼츠 콘텐츠에 대한 로딩 및 에러 처리를 통합하였습니다.
에러 발생 시 500, 502, 503 등의 상태에 대해서는 재시도 버튼이 노출되도록 ErrorFallback 컴포넌트를 개선했습니다.
NotFound 페이지도 추가되어, 유효하지 않은 접근 시 fallback 대응하였습니다.
React.lazy와 Suspense를 사용하여 각 라우트마다 별도 JS chunk 파일 생성하도록 하였습니다.
☑️ 체크리스트
🛠 기본 검사 항목
✍️ 작성자 선택 항목
📸 스크린샷
✅ 리뷰 요구사항
PR Type
Enhancement, Bug fix
Description
Add NotFoundPage catch-all route
Improve ErrorFallback retry logic
Migrate shorts query to suspense
Wrap ShortsPage in AsyncBoundary
Diagram Walkthrough
File Walkthrough