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

feat: queryKey 파일 분리 #202

Merged
merged 6 commits into from
Apr 7, 2024
Merged

feat: queryKey 파일 분리 #202

merged 6 commits into from
Apr 7, 2024

Conversation

hyejun0228
Copy link
Contributor

  • Close #ISSUE_NUMBER

What is this PR? 🔍

Changes 📝

queryKey 파일을 분리했습니다.

Precaution

✔️ Please check if the PR fulfills these requirements

  • It's submitted to develop branch, not the main branch
  • Did you merge recent develop branch?

@hyejun0228 hyejun0228 self-assigned this Mar 20, 2024
Comment on lines 1 to 3
export const allShopKeys = {
all: ['shop'] as const,
};
Copy link
Contributor

Choose a reason for hiding this comment

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

shopkeys.all에 이미 똑같은 키가 있는데, 얘만 왜 따로 정의하셨나요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

해당부분 삭제 해줬습니다..! 만들어 놓고 사용하는 곳이 없었네요..겹치기도 하구요..

Comment on lines 1 to 3
export const shopCategoryKeys = {
shopCategory: ['shopCategory'] as const,
};
Copy link
Contributor

Choose a reason for hiding this comment

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

도메인별로 구분한다고 하면, 상점 카테고리 관련 key 들은 shopKeys 에 종속돼도 괜찮을 것 같아요

@ChoiWonBeen
Copy link
Member

요것도 리마인드한번 돌릴게용

@hyejun0228 hyejun0228 merged commit 4cdcea9 into develop Apr 7, 2024
1 check passed
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.

3 participants