-
Notifications
You must be signed in to change notification settings - Fork 39
[이상달] Sprint4 #114
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
[이상달] Sprint4 #114
The head ref may contain hidden characters: "part1-\uC774\uC0C1\uB2EC-sprint4"
Conversation
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.
수고하셨습니다!
코드가 정말 읽기 편안하네요 :)
이제 상달님이 짜신 코드의 의도를 최대한 살리되 관심사 분리와 응집도 관점에서 필요한 설계를 하셨는지, 더 효율적인 방식은 없을지 제가 드린 코멘트의 내용을 잘 참고하고 고민해보시면 많은 도움될것같습니다!
주요 리뷰 포인트
- 관심사 분리와 응집도 관점에서 코드 리팩토링
- 유지보수를 고려한 개발
질문에 대한 답변
첫번째 질문의 경우 PR본문 내에서 드린 코멘트 참고해보시면 도움이 될것같네요 :) // 빈 값 체크
if (value.length === 0) {
setValid(input, false, "비밀번호를 입력해주세요.");
return false;
}
// 길이 체크
if (value.length < 8) {
setValid(input, false, "비밀번호를 8자 이상 입력해주세요.");
return false;
}
// 비밀번호는 유효함
setValid(input); |
요구사항
기본
로그인
회원가입
심화
주요 변경사항
배포 사이트
https://panda-market-fe16sd.netlify.app/login
스크린샷
로그인 유효성 검사
회원가입 유효성 검사
비밀번호 숨김/표시 토글
멘토에게