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

Refactor/#577 query 위계 질서 정립 #578

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

cruelladevil
Copy link
Collaborator

📝작업 내용

이번 PR에서 작업한 내용을 간략히 설명(이미지 첨부 가능)

쿼리의 위계 질서를 정립합니다.

💬리뷰 참고사항

원활한 리뷰를 위해 전달하고 싶은 맥락(특정 파일, 디렉터리 등등)
리뷰어가 특별히 봐주었으면 하는 부분

쿼리 필터링에서 위계 질서를 만드는 것입니다.
hierarchy를 만들어 놓으면 쿼리 키 매칭을 통해 원하는 구조 만큼 invalidateQueries를 할 수도 있습니다.

https://tkdodo.eu/blog/the-query-options-api#query-factories
https://tanstack.com/query/latest/docs/framework/react/guides/filters#query-filters

#️⃣연관된 이슈

연관된 이슈 번호를 모두 작성

close #577

Copy link

github-actions bot commented Feb 4, 2025

Unit Test Results

  98 files    98 suites   10s ⏱️
389 tests 388 ✔️ 1 💤 0
394 runs  393 ✔️ 1 💤 0

Results for commit c407476.

@cruelladevil cruelladevil self-assigned this Feb 4, 2025
@cruelladevil cruelladevil added [ 🌞 FE ] 프론트엔드 크루들의 빛나는 개발 이야기 하나둘셋 호! 🔨 Refactor 꾸준한 개선이 더 나은 애플리케이션을 만든다 labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[ 🌞 FE ] 프론트엔드 크루들의 빛나는 개발 이야기 하나둘셋 호! 🔨 Refactor 꾸준한 개선이 더 나은 애플리케이션을 만든다
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REFACTOR] query 위계 질서 정립
1 participant