-
Notifications
You must be signed in to change notification settings - Fork 39
[이상달] sprint6 #183
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
[이상달] sprint6 #183
The head ref may contain hidden characters: "React-\uC774\uC0C1\uB2EC-sprint6"
Conversation
…ithub-actions [Fix] delete merged branch github action
…ctCard 스켈레톤이 로딩중에 안뜨는 문제)
…print-Mission into React-이상달-sprint6
addiescode-sj
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.
수고하셨습니다!
지난 주에 드린 피드백도 잘 적용하시고, 매번 코드를 깔끔히 정리하며 미션해주시네요 :)
주요 리뷰 포인트
- 폼 컨트롤 방식 고민해보기
- 상속말고 조합으로 큰 컴포넌트의 역할 쪼개기
- useEffect 특징 이해하기
질문에 대한 답변
본문 내에 답변드렸습니다 :)
페이지 전환 시 스크롤 위치가 최상단으로 유지되도록 커스텀 훅을 쓰시는건 좋은 시도입니다 :)
우선 배포시에 수동으로 체크기능을 끄는건 좋지않습니다.
|
요구사항
기본
심화
배포 사이트
https://panda-market-react-sd.netlify.app/
주요 변경사항
스크린샷
상품 등록 폼 기본 상태
상품 등록 폼 비활성화 상태
상품 등록 폼 활성화 상태
반응형 - 태블릿
반응형 - 모바일
멘토에게
formData객체로 묶어서 관리했는데, useState로 각 input들을 따로따로 관리해주는 게 더 좋을지 아닐지 기준을 잘 모르겠어요!useScrollToTop.js). 무한 스크롤 기능이 없어서 이렇게 해도 괜찮다고 생각했는데, 제가 놓친 부분이 있을까요?ProductList컴포넌트에서 '새로고침 시 검색값 초기화' 기능을 새로고침 시 한번만 실행하기 위해 의존성 배열을 의도적으로 비워뒀는데, Netlify에서 이 부분 때문에 배포가 안되어 Netlify 설정에서 CI값을 false로 설정해 배포했습니다. 이렇게 해도 되는 걸까요?