-
Notifications
You must be signed in to change notification settings - Fork 2
[Feat] 서버 상태 관리를 위한 Tanstack Query 도입 #384
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 상태 관리를 위한 @tanstack/react-query와 devtools 설치 - Query용 ESLint 플러그인 추가 - 무한 스크롤 구현을 위한 react-intersection-observer 설치
- useAPI 훅 삭제
- features/liveList 추가 - widgets에 있던 라이브카드, 검색, 필터를 features/liveList로 이동 - useIntersect 훅 shared 레이어로 이동 - IconButton props 변경
4 tasks
seungheon123
approved these changes
Mar 2, 2025
Member
seungheon123
left a comment
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.
고생하셨습니다
huiseon37
approved these changes
Mar 3, 2025
g00hyun
approved these changes
Mar 4, 2025
Collaborator
g00hyun
left a comment
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.
고생하셨습니다 :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#️⃣ 연관된 이슈
✨ 구현 기능 명세
useQuery로 리팩토링useQuery와useMutation으로 변경useInfiniteQuery도입🎁 PR Point
Tanstack Query 도입을 통한 서버 상태 관리 개선
LiveList를 LivePreviewList로 이름 변경 후 일부분 features로 분리
정리 자료
🔗Tanstack Query 도입
😭 어려웠던 점
새로 구현하는 것보다 있는 코드 리팩토링이 더 어려운 것 같다. 웬만하면 처음에 개발할 때부터 리팩토링을 최대한 안 할 수 있도록 유지보수를 신경써서 개발하자.