[6주차] Team Menual 신용섭 & 최무헌 과제 제출합니다.#10
Open
hammoooo wants to merge 19 commits intoCEOS-Developers:mainfrom
Open
[6주차] Team Menual 신용섭 & 최무헌 과제 제출합니다.#10hammoooo wants to merge 19 commits intoCEOS-Developers:mainfrom
hammoooo wants to merge 19 commits intoCEOS-Developers:mainfrom
Conversation
feature: tabBar 구현
- Resolved package-lock.json conflict - Integrated tabBar and folder structure from main branch
feat: detailPage구현
refactor: mainPage에 popular 추가
|
고생하셨습니다!! 후기에서 말씀하신것처럼 폴더 구조를 많이 고민한것같아보입니다!! |
codus02
reviewed
Nov 9, 2025
There was a problem hiding this comment.
그냥 개인적 궁금인데 prettier 설정도 두분이 협의하셨나요?? 다른팀은 어떤지 궁금해서요..
|
|
||
| return ( | ||
| <div className="min-h-screen bg-black pt-[44px]"> | ||
| {/* 검색창 */} |
| }, | ||
| { | ||
| threshold: 0, | ||
| rootMargin: "200px", // 화면 하단 200px 전에 미리 로드 |
| } | ||
| return undefined; | ||
| }, | ||
| //staleTime: 1000 * 60 * 5, // 5분간 캐시 유지 |
There was a problem hiding this comment.
5분간 캐시 유지되게 한점 좋은것같습니다 !! 이런 생각은 안해봤는데 좋은 아이디어같습니다
There was a problem hiding this comment.
화면 전체 크기를 설정하지 않고 축소하면 계속 축소되도록 의도하신건가요?? 개인적으로는 화면 크기가 고정되어있는것도 좋을것같습니다
| onChange={(e) => setQuery(e.target.value)} | ||
| autoFocus | ||
| /> | ||
| <button onClick={() => setQuery("")} className="p-1 shrink-0"> |
There was a problem hiding this comment.
검색창에서 x 버튼을 누르면 입력 내용이 삭제되는 기능이 있으니까 호버 기능도 넣었어도 좋았을것 같습니다!!
sungahChooo
reviewed
Nov 10, 2025
| @@ -0,0 +1,25 @@ | |||
| import Previews from "../../components/features/Home/Previews"; | |||
sungahChooo
reviewed
Nov 10, 2025
| .filter(Boolean) | ||
| .join(" ")} | ||
| /> | ||
| <span className={`text-[8.2px] ${active ? "text-white" : "text-[#8c8787]"}`}> |
sungahChooo
reviewed
Nov 10, 2025
| const url = `/api/tmdb/movie/popular?language=${encodeURIComponent(language)}`; | ||
| const res = await fetch(url, { cache: "no-store" }); | ||
| if (!res.ok) throw new Error(`TMDB error: ${res.status}`); | ||
| return res.json(); |
sungahChooo
reviewed
Nov 10, 2025
There was a problem hiding this comment.
TabBar 파일 위치가 components 안에 Home폴더 밖에 있는게 더 자연스러울 거 같습니다.
sungahChooo
reviewed
Nov 10, 2025
sungahChooo
reviewed
Nov 10, 2025
| key={i} | ||
| className="flex items-center bg-[#424242] mb-[3px] h-[76px] animate-pulse" | ||
| /> | ||
| )) |
There was a problem hiding this comment.
검석어가 없을 때에는 무한스크롤이 작동이 안하는거 같은데 의도하신건가요..?? 아니라면 수정이 필요해 보입니다
sungahChooo
reviewed
Nov 10, 2025
sungahChooo
left a comment
There was a problem hiding this comment.
안녕하세요! 코드 잘 봤습니다 과제하느라 수고 정말 많으셨어요 !!!!👏🏻
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.



링크: https://next-netflix-22nd-eosin.vercel.app/
협업 과정
카톡을 통해서 역할을 조율하고 이슈를 공유하였습니다.
뿌듯한 점: Branch를 페이지 단위로 나누어서 개발을 진행하였는데, 이 과정에서 시행착오가 많았지만 값진 경험이었고 보다 더 실무적으로 개발할 수 있어 좋았습니다.
아쉬운 점: PR이나 이슈를 제대로 적용하지 못한 점이 아쉬웠습니다
Research Question
5->6주차 과제 진행하면서 중점적으로 고려한 사항에 대해 작성해 주세요.
무헌:
저는 이번 6주차에서 상세 페이지를 구현하게 되었습니다.
처음에 따로 상세페이지 API를 만들어서 파라미터로 해당 영화의 ID 값을 넘겨주어 정보들을 받아와야 한다고 생각했습니다
그러나 6주 차의 예시 템플릿을 보고 search param으로 필요한 정보들을 전달하고 있다는 것을 발견하였습니다.
따라서 추가적인 API요청 없이 기존에 받아온 DATA를 이용해 클릭 시 링크 형태로 넘겨주어 상세페이지를 구현할 수 있었습니다.
용섭:
검색페이지에서 실제로 우리는 끝까지 내려가야만 스크롤이 되지 않기에 UX 관점에서 200px전에 다음 페이지 로딩이 되도록 했습니다. useInfiniteQuery를 사용해 getNextPageParam으로 다음 페이지 계산하고, hasNextPage, isFetchingNextPage로 중복 요청을 방지했습니다. 또한 UX관점에서 자연스러움을 주기 위해 로딩 중 스켈레톤UI를 적용했습니다.
최종폴더구조