-
Notifications
You must be signed in to change notification settings - Fork 37
[박상석] Sprint8 #291
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
[박상석] Sprint8 #291
The head ref may contain hidden characters: "React-\uBC15\uC0C1\uC11D-sprint8"
Conversation
…ithub-actions [Fix] delete merged branch github action
…상석-sprint1 [박상석]sprint1
…상석-sprint2 Basic 박상석 sprint2
kich555
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.
넵 전체적으로 특별히 모난곳은 없네요 ㅎㅎ
고생하셨습니다
|
|
||
| currentPage: number; | ||
| totalPage: number; | ||
| setPage: React.Dispatch<React.SetStateAction<number>>; |
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.
()=> void 그냥 이렇게 작성하셔도 괜찮습니다. ㅎ
사용하신 방법이 정석은 맞는데 너무 길어서..
요구사항
기본
심화
주요 변경사항
-moule.css로 변경
-기초 프로젝트 후 배운 점 토대로 코드 리팩토링
멘토에게
-공통으로 사용하는 Container 컴포넌트1개가 있습니다.
html에 Container 컴포넌트가 있는 상황인데 가독성에 안좋은 느낌을 받고 있는데
이런 상황 괜찮은건가요?
그리고 현재는 구성되어 있지 않지만 style.box 한개가 더 있다는 가정하에
2개를 가로 정렬을 해야 한다고 했을 때 부모 div 를 만들어서 정렬 하는게 나을까요?
아니면 Container에 className props으로 적용하는 게 좋을까요?
이런 상황이 종종 있는데 Container에 클래스 줘서 하면 좋은데 가운데영역이라는 역할이 있어서
궁금해서 질문드립니다!
-현재 프로젝트에는 대부분 interface로 많이 적용되어 있습니다.
구동은 되고 있는데 interface로만 작성하다보니 이게 맞나 하는 의문이 들고 있습니다.
-https://codeit02-pandamarket.netlify.app/items