-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: 온보딩 이미지 lazy-loading 제거 #447
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.
👍
@@ -41,6 +41,7 @@ export function Steps({ current }: StepsProps) { | |||
alt="온보딩 이미지" | |||
fill | |||
style={{ objectFit: 'contain' }} | |||
priority |
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.
우선순위를 최상위로 높이는 방법 보다는 lazy='eager'
속성을 적용해야 할 것 같아요.
현재 이미지가 늦게 뜨는 이유는, 화면에 보여지지 않는 영역의 이미지가 로딩이 지연되는 원인이 클 것 같습니다.
https://nextjs.org/docs/pages/api-reference/components/image
🤔 어떤 문제가 발생했나요?
🎉 어떻게 해결했나요?
📷 이미지 첨부 (Option)