feat: 라우트 코드 스플리팅 적용 (#387) - #388
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
코드 리뷰Must: RouteLoadingBoundary가 MainLayout 전체의 Routes를 감싸지만 경로 변경 시 hasError를 초기화하지 않습니다. 한 페이지의 lazy import가 일시적으로 실패하면 이후 다른 메뉴로 이동해도 boundary가 계속 오류 화면만 렌더링해 앱을 복구할 수 없습니다. key={pathname}으로 경계를 재마운트하거나 location 변경 시 상태를 초기화해 주세요. Should: 없음 |
Collaborator
Author
리뷰 반영 완료라우트별 오류 경계에 key={pathname}을 적용했습니다. 특정 lazy 청크 로딩이 실패해도 다른 경로로 이동하면 오류 상태가 초기화되어 화면을 다시 복구할 수 있습니다. 검증: diff --check 통과. 로컬 worktree의 의존성 연결 문제로 lint·타입·빌드는 실행하지 못했으며, PR CI에서 재검증됩니다. |
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.
이슈
Closes #387
변경 사항
스크린샷
리뷰 포인트
체크리스트