Skip to content
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

Feat/334 #353

Merged
merged 6 commits into from
Jun 13, 2024
Merged

Feat/334 #353

merged 6 commits into from
Jun 13, 2024

Conversation

devkyoung2
Copy link
Member

#️⃣연관된 이슈

close: #334

📝작업 내용

  • 위시개수 api 연동
  • 위시 버튼 클릭시 색상 및 개수 변경

🙏리뷰 요구사항(선택)

- 위시여부 및 위시카운트 추가
- 위시 요청 성공시 productDescription에 캐싱된 데이터를 무효화 시켜 다시 데이터를 fetch함
@devkyoung2 devkyoung2 self-assigned this Jun 7, 2024
Copy link

vercel bot commented Jun 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kakao-funding ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 11:50am

Comment on lines 149 to 150
useEffect(() => {}, [wish]);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

위시 상품이 변경되면 재렌더링을 하기 위한 건가요??

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 궁금합니다! 어떤 코드인지 잘 모르겠습니다

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 코드 의미 없는 코드인데 제가 지우는것을 깜빡한것같아요 제거했습니다! b7b4000

Comment on lines 43 to 44
wish,
} = productDescription;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wish가 위시 여부를 의미하는 건가요?
그렇다면 isWishedwished처럼 이름을 짓는 건 어떨까용?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영했습니다. b0bcc25

@devkyoung2 devkyoung2 merged commit 53a7673 into dev Jun 13, 2024
3 checks passed
@devkyoung2 devkyoung2 deleted the feat/334 branch June 13, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

상품상세조회 페이지 - 위시 개수/색상 api 연동
3 participants