Skip to content

Tanstackquery cache data와 invalidateQueries#2

Open
4BFC wants to merge 42 commits intomainfrom
poby/tanstackquery-cache-data
Open

Tanstackquery cache data와 invalidateQueries#2
4BFC wants to merge 42 commits intomainfrom
poby/tanstackquery-cache-data

Conversation

@4BFC
Copy link
Owner

@4BFC 4BFC commented Feb 18, 2026

Summary

TQ의 InvalidateQueries의 동작 방식과 InvalidateQueries의 문제점을 문서화 했습니다. InvalidateQueries가 단순히 문제가 많다는 입장이였으나, 다른 환경, 상태에 따라 InvalidateQueries를 사용하는 것이 크게 문제가 되지 않을 수 있겠다는 생각을 했습니다. 이에 따른 반문과 비평과 여러분의 생각이 필요합니다. 코멘트 부탁 드립니다.

Changes

주의 깊게 봐주실 부부은 다음과 같습니다. useUsers.tsuseUpdateUser함수 부분입니다.

@4BFC 4BFC requested review from KimKyungYun and za0012 February 18, 2026 06:38
@4BFC 4BFC self-assigned this Feb 18, 2026
KimKyungYun
KimKyungYun previously approved these changes Feb 20, 2026
Copy link
Collaborator

@KimKyungYun KimKyungYun left a comment

Choose a reason for hiding this comment

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

수고하셨습니다 :)

@4BFC 4BFC mentioned this pull request Feb 22, 2026
4BFC added 6 commits February 25, 2026 22:48
- tanstackquery 페이지 구현 및 axiosInstance 구현 예정, interceptor 제외
- 외부에서 QueryClientProvider 설정이 가능하게 creaateQueryClient 구현
4BFC added 2 commits February 25, 2026 23:27
- 문서 초안 작성
- 리팩토링 앞으로 수정해야할 부분 주석으로 처리
@4BFC 4BFC force-pushed the poby/tanstackquery-cache-data branch from 45b16be to 91aab47 Compare February 25, 2026 15:41
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.

2 participants