Week6/celine m2#65
Open
yoons-art wants to merge 29 commits into
Open
Conversation
feat: 1주차 미션 완료
Week3/celine m2
Week3/celine m3
Week4/celine m2
Week4/celine m3
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
yewon20804
reviewed
May 12, 2026
Collaborator
yewon20804
left a comment
There was a problem hiding this comment.
6주차 두번째 미션 확인했습니다 ! useInfiniteQuery를 사용한 무한스크롤과 스켈레톤 UI 모두 잘 구현해주셨습니다 🙂 아래 코멘트 확인해주세요 ㅎㅎ
1. useGetInfiniteLpList.ts — queryKey에 객체 자체를 넣고 있어요
QUERY_KEY는 { lps: "lps" } 형태의 객체인데, .lps 없이 객체 자체를 배열에 넣고 있습니다.
useGetLpList.ts에서는 QUERY_KEY.lps를 올바르게 사용하고 있어서 두 훅의 캐시 키가 달라지고, 쿼리 무효화(invalidation)가 제대로 동작하지 않을 수 있습니다 !
// 현재 (week4/src/hooks/queries/useGetInfiniteLpList.ts)
queryKey: [QUERY_KEY, search, order],
// 수정
queryKey: [QUERY_KEY.lps, search, order],2. MyPage.tsx — 잘못된 Tailwind 클래스
rounded-sm-p-5와 hover-scale-90은 존재하지 않는 클래스입니다. 스타일이 적용되지 않고 있어요 !
// 현재
<button className="cursor-pointer bg-blue-300 rounded-sm-p-5 hover-scale-90">
// 수정
<button className="cursor-pointer bg-blue-300 rounded-sm p-5 hover:scale-90">
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
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.
📚 주차 / 미션
📌 작업 내용
✨ 상세 작업 내용
✅ 체크리스트