Skip to content
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

[#168] Feat: logout 시 모든 캐시 초기화 #169

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

ienrum
Copy link
Collaborator

@ienrum ienrum commented Jul 11, 2024

💬 Issue Number

closes #168

🤷‍♂️ Description

작업 내용에 대한 설명

인증된 유저 상태일때 남겨진 캐시된 데이터들을 로그아웃시 삭제하는 작업을 진행하였습니다.

  • logout 시 queryClient.removeQueries() 로 모든 캐시 초기화

📷 Screenshots

작업 결과물

좋아요 버튼을 눌렀을때 캐시된 데이터가 제거된 모습

Arc 2024-07-11 17-44-18

👻 Good Function

팀원에게 공유하고 싶은 함수나 코드 일부

📋 Check List

PR 전 체크해주세요.

  • Merge 하는 브랜치가 올바른가?
  • 코딩컨벤션을 준수하는가?
  • PR과 관련없는 변경사항이 없는가?

📒 Remarks

팀원이 코드리뷰 시 주의할 점 또는 말하고 싶은 점 특이사항

@ienrum ienrum added the ✨Feature 새로운 기능 추가 label Jul 11, 2024
@ienrum ienrum self-assigned this Jul 11, 2024
Copy link

🚀 Storybook is deployed! View it here: https://6621243cb767d61b79ad0f3c-wiubxxtxiv.chromatic.com/

Copy link
Contributor

@HoberMin HoberMin left a comment

Choose a reason for hiding this comment

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

해당작업이 왜 진행되었는지 정도는 PR에 포함해주면 좋을 것 같습니다 !

Copy link
Collaborator

@hyeonjinan096 hyeonjinan096 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다:)

@ienrum ienrum merged commit 8e8fdee into main Jul 14, 2024
3 checks passed
@ienrum ienrum deleted the #168/feat/remove-user-cache/chae branch July 14, 2024 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨Feature 새로운 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 로그아웃 된 사용자의 활동데이터 제거
3 participants