-
Notifications
You must be signed in to change notification settings - Fork 2
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
🐛 리액트 쿼리 업데이트 오류 이슈 #140
🐛 리액트 쿼리 업데이트 오류 이슈 #140
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.
요 버그 내용은 원인과 해결법을 공유해주시면 감사하겠습니다!! 궁금하네요
|
||
const lastElementRef = useRef<HTMLDivElement | null>(null) | ||
const entry = useIntersectionObserver(lastElementRef, { threshold: 1.0 }) | ||
|
||
useEffect(() => { | ||
if (isFetchingNextPage) { | ||
if (isFetchingNextPage || !hasNextPage) { |
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.
!hasNextPage 이게 어떤 상황을 말하는 것인가요?
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.
"다음 페이지가 없으면" 이라는 뜻입니다.
네 안그래도 정리를 해야 할 것 같습니다. |
- 목적
관련 티켓 번호: 367
- 주요 변경 사항
기타 사항 (선택)
- 스크린샷 (선택)