-
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
feat: follower, following list 마크업 및 데이터 연동 #251
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.
👍🔥
}: FollowVirtualList) => { | ||
const handleRangeChanged = (range: { endIndex: number }) => { | ||
const currentContentsLastIndex = data.length - 1; | ||
if (range.endIndex >= currentContentsLastIndex - 3) { |
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.
근데 왜 이거 -3 까지예요? (궁 금 궁 금)
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.
그냥 제가 정한 기준이긴 해요
뷰포트 기준으로 overscan 500px + end index 3개 전에 다음 데이터 불러오는 조건입니다!
🤔 어떤 문제가 발생했나요?
🎉 어떻게 해결했나요?
📷 이미지 첨부 (Option)