Conversation
|
""" Walkthrough이 변경 사항은 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PhotoList
participant LazyImage
participant IntersectionObserver
User->>PhotoList: 페이지 진입
PhotoList->>LazyImage: 여러 이미지 컴포넌트 렌더
LazyImage->>IntersectionObserver: 뷰포트 진입 감지
IntersectionObserver-->>LazyImage: 이미지가 뷰포트에 들어옴
LazyImage->>LazyImage: 100ms 후 isVisible=true
LazyImage->>User: 이미지 표시
Assessment against linked issues
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for moadong ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
oesnuj
left a comment
There was a problem hiding this comment.
덕분에 새로운 걸 많이 알아갑니다 :)
이미지가 한 번에 로딩돼서 더 깔끔해 보이네요!
궁금한 점이 있어 몇 가지 코멘트 드렸습니다. 수고하셨습니다 👍👍
- timeout 변수를 useEffect 스코프에서 선언하도록 변경 - 컴포넌트 언마운트 시 clearTimeout 정상 동작 보장
- shouldLoad 삭제

#️⃣연관된 이슈
📝작업 내용
기존 동작
문제점
2025-04-29.13.04.03.mov
개선하기
delay * delayMs에서delayMs제거하여 일정 시간으로 유지. a13e6182025-04-29.14.11.32.mov
중점적으로 리뷰받고 싶은 부분(선택)
논의하고 싶은 부분(선택)
🫡 참고사항
Summary by CodeRabbit
Refactor
Tests