Skip to content

[Refactor] 좋아요/좋아요 취소 시 식당 목록 요청 polling -> SSE#479

Open
shuyeon wants to merge 3 commits intofront/devfrom
refactor/478-SSE
Open

[Refactor] 좋아요/좋아요 취소 시 식당 목록 요청 polling -> SSE#479
shuyeon wants to merge 3 commits intofront/devfrom
refactor/478-SSE

Conversation

@shuyeon
Copy link
Copy Markdown
Contributor

@shuyeon shuyeon commented Mar 14, 2026

Issue Number

#478

To-Be

  • 식당 목록 polling -> SSE
    픽잇 과정에서 좋아요/좋아요 취소로 인한 식당 정보 변경 시 요청 방식을 polling에서 SSE로 변경했습니다. 좋아요/좋아요 취소 시 SSE 이벤트 전송 -> React Query 캐시 무효화를 통해 모든 참여자의 화면을 동기화합니다. 현재는 서버에서 구체적인 변경 정보 없이 변경되었다는 신호만 전달하므로 onMessage가 아닌 addEventListner 방식을 사용했습니다.
  • 연결 끊김 시 대응
    onError 시 2회 연결을 재시도하며 이후에는 연결 종료 후 토스트를 표시했습니다.
image

Check List

  • 빌드, 테스트가 전부 통과되었나요?
  • merge할 branch를 확인했나요?
  • Assignee를 지정했나요?
  • Label을 지정했나요?

@shuyeon shuyeon requested a review from dev-dino22 March 14, 2026 08:47
@shuyeon shuyeon self-assigned this Mar 14, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 14, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e34543a4-13c1-4854-b3d5-cc89a27aba9a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch refactor/478-SSE
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.

Add a .trivyignore file to your project to customize which findings Trivy reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant