-
Notifications
You must be signed in to change notification settings - Fork 42
[이상달] refactor/sprint8 #221
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
base: React-이상달
Are you sure you want to change the base?
The head ref may contain hidden characters: "React-\uC774\uC0C1\uB2EC-sprint8-rf"
[이상달] refactor/sprint8 #221
Conversation
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 수고하셨습니다!
상달님 미션을 거듭하면서 코드 퀄리티가 점점 좋아지네요 👍
주요 리뷰 포인트
- Banner 컴포넌트 상속이 아닌 조합 기반으로 바꾸기
- css vars 말고 자바스크립트 변수로 스타일링 관련 변수 관리하기
- 버튼 텍스트 렌더러 만들기 (타입스크립트 활용도 높이기)
질문에 대한 답변
네, 사실 토큰 관리는 클라이언트보다는 서버에서, 웹 스토리지보다는 쿠키에서 관리하는게 보안상 좋긴 합니다. 하지만 토큰 관리 전략은 프론트엔드와 백엔드의 사전 협의가 필요한 부분이라서 미션 요구사항대로 구현해보시는게 좋을 것 같습니다 :)
두번째 이유로 라이브러리 사용 경험을 조금씩이라도 늘려가며 프론트엔드 생태계를 파악해보는것도 좋은 공부가 된답니다 :)
|
주요 변경사항
MainSection
으로 컴포넌트화InputField
,PasswordField
로 컴포넌트화InputField
,PasswordField
컴포넌트 적용useAuthForm
으로 분리LoginForm
,SignUpForm
으로 컴포넌트화SocialLogin
으로 컴포넌트화배포 링크
https://panda-market-react-sd.netlify.app/
멘토에게