Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 관련 이슈번호
🎟️ PR 유형
어떤 변경 사항이 있나요?
✅ Key Changes
📢 To Reviewers
invalidateQueries
만 주면 초기화를 안 해줘서refetchQueries
도 추가했습니다...관련해서 궁금한 사람은 밑에 아티클 참고하세요
[React Query의 InvalidateQueries가 동작하지 않을 때](https://pebblepark.tistory.com/32)
react-query 사용시 invalidateQueries를 이용해 캐싱 값 refetch하기
대충 데이터가 즉각 stale 상태(데이터가 만료된 상태)가 되도록 만들고 refetching햇습니다 ㅠㅠ 사실저도뭐가뭔지모르겟음