Skip to content

Conversation

hyeok02
Copy link
Collaborator

@hyeok02 hyeok02 commented Jun 1, 2025

πŸ“ λ―Έμ…˜ 번호

10μ£Όμ°¨ Misson 1

πŸ“‹ κ΅¬ν˜„ 사항

  • μ˜ν™” μ‚¬μ΄νŠΈ λ Œλ”λ§ μ΅œμ ν™”

πŸ“Ž μŠ€ν¬λ¦°μƒ·

image image image image

βœ… 체크리슀트

  • Merge ν•˜λ €λŠ” λΈŒλžœμΉ˜κ°€ μ˜¬λ°”λ₯΄κ²Œ μ„€μ •λ˜μ–΄ μžˆλ‚˜μš”?
  • λ‘œμ»¬μ—μ„œ μ‹€ν–‰ν–ˆμ„ λ•Œ μ—λŸ¬κ°€ λ°œμƒν•˜μ§€ μ•Šλ‚˜μš”?
  • λΆˆν•„μš”ν•œ 주석이 μ œκ±°λ˜μ—ˆλ‚˜μš”?
  • μ½”λ“œ μŠ€νƒ€μΌμ΄ μΌκ΄€μ μΈκ°€μš”?

πŸ€” 질문 사항

Copy link
Member

@hyesngy hyesngy left a comment

Choose a reason for hiding this comment

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

10μ£Όμ°¨ μ›Œν¬λΆκΉŒμ§€ 정말 κΈ΄ μ—¬μ •μ΄μ—ˆμŠ΅λ‹ˆλ‹€.

κ·Έλ™μ•ˆ λͺ¨λ‘ 고생 λ§ŽμœΌμ…¨μŠ΅λ‹ˆλ‹€! πŸ‘πŸ»πŸ‘πŸ»πŸ‘πŸ» μ§§μ§€ μ•Šμ€ κΈ°κ°„λ™μ•ˆ 의미 μžˆλŠ” μ‹œκ°„μ΄ λ˜μ—ˆκΈ°λ₯Ό λ°”λžλ‹ˆλ‹€.

이제 κΈ°λ³Έ μ›Œν¬λΆμ€ λͺ¨λ‘ μ™„μ£Όν•˜μ…¨μ§€λ§Œ, 11-12μ£Όμ°¨ μ›Œν¬λΆλ„ λ„μ „ν•΄λ³΄μ‹œκΈΈ μΆ”μ²œλ“œλ¦½λ‹ˆλ‹€! 11μ£Όμ°¨μ—μ„œλŠ” Vercel을 ν™œμš©ν•œ 배포와 CI/CD ꡬ성을 닀루고, 12μ£Όμ°¨μ—μ„œλŠ” WebSocket을 μ΄μš©ν•œ μ‹€μ‹œκ°„ 톡신과 Cypressλ₯Ό ν™œμš©ν•œ E2E ν…ŒμŠ€νŠΈλ₯Ό λ‹€λ£Ήλ‹ˆλ‹€.

μ•žμœΌλ‘œλ„ κΎΈμ€€νžˆ ν•™μŠ΅ν•˜κ³  μ„±μž₯ν•˜μ‹œκΈΈ μ‘μ›ν•˜λ©°, 데λͺ¨λ°μ΄κΉŒμ§€ ν™”μ΄νŒ… μž…λ‹ˆλ‹€! πŸ‘πŸ»πŸ‘πŸ»πŸ‘πŸ»

Comment on lines +24 to +44
return createPortal(
<div className="fixed inset-0 bg-black/70 z-50 flex items-center justify-center p-4">
<div className="bg-gray-900 text-white max-w-4xl w-full rounded-lg shadow-lg overflow-auto max-h-[90vh] relative">
<button
onClick={() => navigate(-1)}
className="absolute top-3 right-3 text-white text-2xl"
>
&times;
</button>
{isLoading ? (
<p className="text-center my-10">μ˜ν™” 정보λ₯Ό λΆˆλŸ¬μ˜€λŠ” μ€‘μž…λ‹ˆλ‹€...</p>
) : error ? (
<p className="text-center my-10 text-red-500">μ—λŸ¬κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€.</p>
) : (
<MovieDetailContent movie={movie} />
)}
</div>
</div>,
document.body
);
};
Copy link
Member

Choose a reason for hiding this comment

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

λ―Έμ…˜ 1μ—μ„œ μ˜ν™” 검색 결과둜 λ‚˜μ˜¨ μ˜ν™”λ₯Ό ν΄λ¦­ν•˜λ©΄ λͺ¨λ‹¬ ν˜•νƒœλ‘œ μ˜ν™”μ˜ 상세 정보λ₯Ό λΆˆλŸ¬μ˜€λ„λ‘ ν•΄μ•Όν•©λ‹ˆλ‹€.
ν•˜μ§€λ§Œ ν˜„μž¬ detail.tsx μ—μ„œ createPortal을 μ‚¬μš©ν•΄ λͺ¨λ‹¬μ²˜λŸΌ λ Œλ”λ§ν•˜κ³  μžˆμ§€λ§Œ, μ‹€μ œλ‘œλŠ” useNavigate둜 μƒˆλ‘œμš΄ 라우트둜 μ΄λ™ν•˜λŠ” λ°©μ‹μœΌλ‘œ κ΅¬ν˜„λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€. μ΄λŠ” μ§„μ •ν•œ λͺ¨λ‹¬μ΄ μ•„λ‹ˆλΌ λͺ¨λ‹¬ μŠ€νƒ€μΌμ˜ νŽ˜μ΄μ§€ μ „ν™˜μ΄κΈ° λ•Œλ¬Έμ—, λ―Έμ…˜μ— 맞게 μˆ˜μ •μ΄ ν•„μš”ν•΄ λ³΄μž…λ‹ˆλ‹€!

Copy link
Member

Choose a reason for hiding this comment

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

πŸš€Challenge λ―Έμ…˜μ— 따라 ν”„λ‘œμ νŠΈ μ „μ²΄μ˜ μ„±λŠ₯ μ΅œμ ν™”λ‚˜ UX κ°œμ„ μ—λ„ λ„μ „ν•΄λ³΄μ„Έμš”! μ½”λ“œ ν’ˆμ§ˆ μΈ‘λ©΄μ—μ„œλ„ 쀑볡 제거, μ±…μž„ 뢄리, μ˜ˆμ™Έ 처리 κ°œμ„  등을 톡해 가독성과 μœ μ§€λ³΄μˆ˜μ„±μ΄ 쒋은 μ½”λ“œλ‘œ λ¦¬νŒ©ν† λ§ 해보면 μ–΄λ–¨κΉŒμš” 😊

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.

2 participants