Skip to content

feat: ErrorBoundarySuspense & DefaultErrorFallback#190

Merged
halionaz merged 8 commits intodevfrom
#171/error-boundary
Mar 3, 2025
Merged

feat: ErrorBoundarySuspense & DefaultErrorFallback#190
halionaz merged 8 commits intodevfrom
#171/error-boundary

Conversation

@halionaz
Copy link
Member

@halionaz halionaz commented Feb 25, 2025

📌 내용

  • Suspense Query 사용 시 에러 처리를 위해 ErrorBoundarySuspense 컴포넌트를 제작했습니다.
  • 다만 Suspense Query에서 에러 핸들링 UI를 어떤식으로 해야할지는 조금 더 논의해봐야 할 것 같아요.
  • 우선 기존에 Suspense Query를 적용했던 학사일정 페이지에서 2023년을 선택하면 페이지가 터지는 버그가 있어 이를 우선 처리하였습니다.
    • /calendar 라우트로 들어가 2023년 드롭다운을 선택하면 구현한 기능을 체험해볼 수 있어요.
      • (3/1 업데이트) 기본 드롭다운을 3학기만 보여주게 하여 에러가 유저에게 보여지는 것을 방지했습니다.
    • 에러가 발생한 이후 드롭다운을 바꿔주면 자동으로 내부 쿼리를 다시 try 해주는 UX를 만들고 싶은데 혹시 방법을 알고 계시다면 조언 부탁드립니당

☑️ 체크 사항

  • [ ]

❗ Related Issues

@halionaz halionaz requested a review from Virtuso1225 February 25, 2025 12:25
Copy link
Contributor

@Virtuso1225 Virtuso1225 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋아요~

@halionaz halionaz merged commit 80b5e6c into dev Mar 3, 2025
1 check passed
@halionaz halionaz deleted the #171/error-boundary branch March 3, 2025 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[HOTFIX] Academic Schedule 데이터가 없는 경우 페이지가 터지는 문제

2 participants