-
Notifications
You must be signed in to change notification settings - Fork 79
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 #653
The head ref may contain hidden characters: "React-\uC7A5\uC18C\uD76C-sprint5"
[장소희] sprint6 #653
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.
고생하셨습니다 ㅎㅎ
page, | ||
pageSize, | ||
order, | ||
}); |
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.
👍👍👍
const [productName, setProductName] = useState(""); | ||
const [productDescription, setProductDescription] = useState(""); | ||
const [price, setPrice] = useState(""); | ||
const [tags, setTags] = useState(""); |
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.
form 내부 input의 값들은 하나의 객체 상태로 관리하는게 좋을것 같아요 ㅎ
상태는 최대한 줄이면 줄일수록 좋습니다 ㅎ
disabled={!isFormValid} | ||
> | ||
등록 | ||
</button> |
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.
form 내부의 등록 버튼같은 경우 type=submit
을 꼭 붙혀주세요 ㅎ
요구사항
기본
상품 등록
심화
상품 등록
주요 변경사항
스크린샷
멘토에게