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

next/image 이미지 지연 로딩 이슈 #3

Open
jiho3894 opened this issue Sep 5, 2022 · 1 comment
Open

next/image 이미지 지연 로딩 이슈 #3

jiho3894 opened this issue Sep 5, 2022 · 1 comment

Comments

@jiho3894
Copy link
Member

jiho3894 commented Sep 5, 2022

지연 로딩 기본 앱 loading= "eager" 사용 해결

@jiho3894
Copy link
Member Author

메인 배경 사진이 reload시 깜빡이는 증상이 있었다 이유는 Next/image는 default로 lazy loading이 있어 특별한 설정이 없으면 다운로드가 끝나기전까지 아무 화면이 보이지않는다

  1. blur 처리?
    메인 배경 화면에 blur를 넣는건 그닥 좋은 UI라고 생각하지 않았다
  2. lazy loading 제거?
    loading = "eager" 옵션을 추가하면 lazy loading 기능을 취소하고 이미지를 불러올 수 있다

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

No branches or pull requests

1 participant