-
Notifications
You must be signed in to change notification settings - Fork 0
[Fix] SSE 연결 로직 수정, 재연결 시도 구문 추가 #379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎭 Playwright Report✨ E2E Test가 성공적으로 완료되었습니다. Test 요약 내용을 확인해주세요.
📊 Test Summary
📜 Test Details✅ Passed Tests (3)
|
🎨 Storybook Report✅ 변경 사항이 없습니다 모든 Story가 이전 빌드와 동일합니다.
|
🚀 PR Preview Report✨ Build가 성공적으로 완료되었습니다. Preview에서 변경사항을 확인하세요.
|
📊 Coverage Report
📉 #379을 main에 병합하면 coverage가 Coverage 요약@@ Coverage Diff @@
## main #379 +/- ##
===========================================
- Coverage 35.57% 35.48% -0.09%
===========================================
Files 254 254 0
Lines 12017 12053 +36
Branches 477 477 0
===========================================
+ Hits 4275 4277 +2
+ Misses 7742 7776 +34 영향받은 파일
|
HopeFullee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
각 케이스별로 함수 분리해서 보는 눈이 즐겁네요!
수고하셨습니다.
📝 변경 사항
💡 SSE 로직 구조화
기존
연결,연결 해제,오류 처리,데이터 처리함수가 하나의 useEffect 내부에서 전부 처리수정
연결,연결 해제,오류 처리,데이터 처리함수를 별도로 분리useConnectSSE훅은 SSE 관련 기능만 제공하고,NotificationProvider에서 useEffect를 통해 연결/연결 해제 시도하도록 로직 수정🔗 관련 이슈
Closes #
🧪 테스트 방법
📸 스크린샷 (선택)
📋 체크리스트
💬 추가 코멘트
CodeRabbit Review는 자동으로 실행되지 않습니다.
Review를 실행하려면 comment에 아래와 같이 작성해주세요