Skip to content

[Refactor] 로그아웃 시 캐시 지우기 및 효율성 증가 시키기#336

Merged
yeonjin719 merged 2 commits intodevelopfrom
refactor/#335
Feb 20, 2025
Merged

[Refactor] 로그아웃 시 캐시 지우기 및 효율성 증가 시키기#336
yeonjin719 merged 2 commits intodevelopfrom
refactor/#335

Conversation

@yeonjin719
Copy link
Member

@yeonjin719 yeonjin719 commented Feb 20, 2025

🚨 관련 이슈

#335

✨ 변경사항

  • 🐞 BugFix Something isn't working
  • 💻 CrossBrowsing Browser compatibility
  • 🌏 Deploy Deploy
  • 🎨 Design Markup & styling
  • 📃 Docs Documentation writing and editing (README.md, etc.)
  • ✨ Feature Feature
  • 🔨 Refactor Code refactoring
  • ⚙️ Setting Development environment setup
  • ✅ Test Test related (storybook, jest, etc.)

✏️ 작업 내용

  • 모든 모달에 로딩 추가 및 pending 시 disabled 처리
  • 불필요한 reload 제거 및 쿼리 키로 정보 바로 반영되도록 수정
  • 로그아웃 시 window.location.replace를 통해 캐시 삭제. -> 뒤로가기 해도 이제 정보가 안보이도록 수정
  • 로그인/회원가입 화면으로 접근한 사용자가 이전에 로그인한 이력(토큰값이 유효하게 남아있는 것)이 있다면 자동으로 /project로 이동시키는 로직을 기존 data가 불러와지는 가에서 isSuccess로 변경

😅 미완성 작업

N/A

📢 논의 사항 및 참고 사항

@yeonjin719 yeonjin719 added the ♻️ Refactor 리팩토링 label Feb 20, 2025
@yeonjin719 yeonjin719 self-assigned this Feb 20, 2025
@yeonjin719 yeonjin719 linked an issue Feb 20, 2025 that may be closed by this pull request
1 task
@yeonjin719 yeonjin719 merged commit 021620c into develop Feb 20, 2025
2 checks passed
@yeonjin719 yeonjin719 deleted the refactor/#335 branch February 20, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ Refactor 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

♻️ [Refactor] 로그아웃 후에 캐시가 남아있는 문제 해결

1 participant