Skip to content

[#x] 리뷰아이템 코드 리팩토링 - #238

Merged
junye0l merged 10 commits into
developfrom
refactor/detail
Oct 24, 2025
Merged

junye0l merged 10 commits into
developfrom
refactor/detail

Conversation

@junye0l

@junye0l junye0l commented Oct 23, 2025 •

Copy link
Copy Markdown
Member

📄 PR 내용 요약

  • wine-review-item 컴포넌트 분리

✅ 작업 내용 상세

  • wine-review-header , wine-review-footer 두 파일로 코드 분리
  • 불필요하게 작성됐던 주석코드 전부 삭제

💬 참고 사항

일단 지권님이 말씀해주신 방식으로 코드만 분리해봤습니다.

지금은 wine-review-item에서 ui렌더링만 하고있는데 다른 파일들도 동일한 방식으로 리팩토링하면 좋을까요?

또한 wine-review-header에서도 옵션버튼/좋아요버튼을 따로 컴포넌트로 뺴는게 좋을지 고민이됩니다.

컴파운드 패턴도 공부해서 적용해볼까하는데 너무 대규모 작업인지도 생각이 드네요..

리뷰는 자유입니다!

안달아주셔도되고 달아주시면 감사히 반영해보겠습니다.

@junye0l
junye0l requested review from huuitae, suuuuya and wlrnjs October 23, 2025 14:26
@junye0l junye0l self-assigned this Oct 23, 2025
@junye0l junye0l added the 🔨 Refactor 코드 리팩토링 label Oct 23, 2025
@vercel

vercel Bot commented Oct 23, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
wine Ready Ready Preview Comment Oct 24, 2025 6:15pm

Comment thread src/app/wines/[id]/_components/wine-detail/wine-detail-content.tsx
Comment thread src/app/wines/[id]/_components/wine-review/wine-review-item/review-item-aroma.tsx Outdated
Comment thread src/app/wines/[id]/_components/wine-review/wine-review-item/review-item-aroma.tsx Outdated
@wlrnjs
wlrnjs self-requested a review October 24, 2025 17:51
wlrnjs
wlrnjs previously approved these changes Oct 24, 2025
wlrnjs
wlrnjs previously approved these changes Oct 24, 2025
@junye0l
junye0l merged commit 9461098 into develop Oct 24, 2025
3 checks passed
@junye0l
junye0l deleted the refactor/detail branch October 24, 2025 18:20

This branch was successfully deployed

1 active deployment
Preview — 4c7ce74b Deployed Oct 24, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants