refactor: react query 커스텀 hook 파일 리펙터링 #61
Merged
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 포인트
index.ts
에 몰려 있던 걸 각 hook 마다 파일을 만들어 주었음queryKey.ts
에 몰려 있던 걸 각 hook 파일 안에 넣어줌QueryClientProvider
파일을/api/core
로 옮김application
폴더 삭제queryFn
이 모여있는/infra/api
폴더는 인증/인가 설계랑 엮기는 부분이 있어 일단은 그대로 두었습니다.queryFn
만 이동시키면 되는 문제가 아니라 인증/인가 설계도 함께 해야해서 ♻️ Refactor: 폴더 구조 변경 및 react-query 구조 개선 #56 PR을 merge한 후 따로 이슈를 생성해서 진행하겠습니다.