-
Notifications
You must be signed in to change notification settings - Fork 37
[장보배] Sprint 5 #296
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
[장보배] Sprint 5 #296
The head ref may contain hidden characters: "React-\uC7A5\uBCF4\uBC30"
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.
스프린트 미션하느라 수고 많으셨어요~👏🏻
*/} | ||
</div> | ||
) | ||
} No newline at end of file |
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.
vscode에서 end of line 설정해주시면 좋을 것 같아요. (참고)
}; | ||
|
||
fetchData(); | ||
}, []); |
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.
데이터 받는 부분 커스텀 훅 만들고, AllItems, BestItems에서 사용하는 방향으로 리팩토링 해보면 좋을 것 같아요.
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.
React 컴포넌트 파일이름의 경우 대문자로 시작하는 경우가 일반적이라 이후에 만드실 때는 대문자로 시작하도록 만들어보시면 좋을 것 같아요.
<p className={style.favouriteCount}>❤️{item.favourtieCount}</p> | ||
</div> | ||
|
||
|
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.
불필요한 여백들은 제거하면서 깔끔하게 유지하시면 좋아요.
to="/communityboard">자유게시판</Link> | ||
<Link | ||
className={style.navbuttonspages} | ||
to="/thriftmarket">중고마켓</Link> |
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.
필요한 경우 NavLink
사용도 고려해보면 좋아요. (참고)
요구사항
기본
심화
주요 변경사항
스크린샷
멘토에게