-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: queryKey 파일 분리 #202
Conversation
src/query/KeyFactory/allShopKeys.ts
Outdated
export const allShopKeys = { | ||
all: ['shop'] as const, | ||
}; |
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.
shopkeys.all
에 이미 똑같은 키가 있는데, 얘만 왜 따로 정의하셨나요?
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.
해당부분 삭제 해줬습니다..! 만들어 놓고 사용하는 곳이 없었네요..겹치기도 하구요..
export const shopCategoryKeys = { | ||
shopCategory: ['shopCategory'] as const, | ||
}; |
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.
도메인별로 구분한다고 하면, 상점 카테고리 관련 key 들은 shopKeys 에 종속돼도 괜찮을 것 같아요
요것도 리마인드한번 돌릴게용 |
What is this PR? 🔍
Changes 📝
queryKey 파일을 분리했습니다.
Precaution
✔️ Please check if the PR fulfills these requirements
develop
branch, not themain
branchdevelop
branch?