Skip to content

Sprint 5 프론트엔드 제출#71

Open
JoohyoungJun wants to merge 11 commits intocodeit-sprint-fullstack:react-전주형from
JoohyoungJun:react-전주형sprint5

Hidden character warning

The head ref may contain hidden characters: "react-\uc804\uc8fc\ud615sprint5"
Open

Sprint 5 프론트엔드 제출#71
JoohyoungJun wants to merge 11 commits intocodeit-sprint-fullstack:react-전주형from
JoohyoungJun:react-전주형sprint5

Conversation

@JoohyoungJun
Copy link
Collaborator

No description provided.

@JoohyoungJun JoohyoungJun self-assigned this Jan 16, 2026
@JoohyoungJun JoohyoungJun requested a review from 11t518s January 16, 2026 06:01
@JoohyoungJun JoohyoungJun added the 매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다. label Jan 16, 2026
@JoohyoungJun JoohyoungJun marked this pull request as ready for review January 16, 2026 07:02
Copy link
Collaborator

@11t518s 11t518s left a comment

Choose a reason for hiding this comment

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

주형님 전체적으로 필요 없는 파일이 많아 어떤걸 리뷰해야할지 잘 모르겠습니다 ㅠㅠ

리뷰 더 드리고 싶은데 지금 상황에서는 좀 어려울 것 같아서

  1. 딱 이번에 추가된 파일만 넣어주시고
  2. 어떤 것을 리뷰해드리면 좋을지 말씀해주세요

지금은 BE쪽도, 이전에 html 도 있어서 제가 파악하기 너무 어렵습니다 ㅠㅠ

코드에 대한 리뷰는 없지만 이것도 협업에 좋은 배움이라 생각합니다!
한번 해주시면 감사하겠습니당

Copy link
Collaborator

Choose a reason for hiding this comment

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

요 .vite/deps 는 pr 에 안올라와도 됐었을 것 같습니다!

ignore에 들어가면 좋았을 것 같아서 다음에는 잘 확인해주시면 감사하겠습니다.

Copy link
Collaborator

Choose a reason for hiding this comment

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

이 backend 쪽 전체도 fe 코드랑은 관련이 없으니 다음에는 제외해주시면 좋을 것 같습니다

pr을 올린다는 것은 의도가 있는 변경사항을 리뷰받기 위해 올려주시는 건데, 이건 의도 없이 올라온 것 같습니다
지금은 멘토링이라 큰 문제 없지만 미래에 실제 협업하는 분들과 pr 을 주고받을 때는 이렇게 불필요한 파일이 생기기 시작하면 의도파악하기 어려울 수 있어서 딱 알맞은 변경사항만 포합해주시면 좋습니다!

Comment on lines +7 to +13
let startPage;

if (totalPageNum <= maxVisiblePages) {
startPage = 1;
} else { // totalPageNum > 5
startPage = Math.max(activePageNum - Math.floor(maxVisiblePages / 2), 1);
startPage = Math.min(startPage, totalPageNum - maxVisiblePages + 1);
Copy link
Collaborator

Choose a reason for hiding this comment

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

react component 에서는 let으로 내부에 변수 선언해주는것이 좋은 패턴은 아닙니다!

  1. 왜 그럴까요?
  2. 그러면 이렇게 mutable 한 변수는 어떻게 관리할 까요!
    요거 한번 답변 해주시면 감사하곘습니당

Comment on lines +24 to +32
const isValid =
product.name.trim().length > 0 &&
product.name.trim().length < 10 &&
product.description.trim().length >= 10 &&
!isNaN(Number(product.price)) &&
Number(product.price) > 0 &&
product.tags.trim().length > 0 &&
product.tags.trim().length <= 5;

Copy link
Collaborator

Choose a reason for hiding this comment

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

isValude가 좀 복잡해서 이거는 함수로 만들거나 하면 좋을 것 같아요!

함수로 해두고, 개별 validation 로직을 넣어보면 좋을 것 같습니다!

@11t518s
Copy link
Collaborator

11t518s commented Jan 18, 2026

이거 그리고 conflict나는데 이것도 잡아서 말씀해주세요!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

매운맛🔥 뒤는 없습니다. 그냥 필터 없이 말해주세요. 책임은 제가 집니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants