-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature/postlist 무한스크롤 기능 보류 #74
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.
박스로더 아주 마음에 듭니다 👍 👍
if (!token) { | ||
this.fetchMainPosts(0); | ||
await dispatch(getMainPosts(0, mainPageNum)); |
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.
31번, 34번 라인 혹시 vscode에서 이 경고 안 뜨시나요
'await' has no effect on the type of this expression.ts(80007)
분명 await 붙고 안 붙고에 따라 로더가 포스트 렌더링 전까지 돌고 안돌고의 차이가 존재하는데
정말 신기합니다. 그렇다구요,,,, 👍
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.
안 그래도 functional component -> useDispatch로 바꾸고 나서 자꾸 워닝 떠서 거슬려 미치겠습니다 !! vscode 설정에서 바꿀 수 있으면 바꾸든지 해야지 원 ...!!!
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.
나원...참! ! !
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.
박스 로더 이뻐요 👍
원래는 무한스크롤을 구현하고 PR을 올려야 하는데, 무한스크롤은 맨 마지막으로 미룰까 합니다.
외부 라이브러리도 써보고 했는데 아무래도 직접 짜야할 것 같고, 시간이 좀 걸릴 것 같습니다.
다른 급한 기능 마무리하고 다같이 덤벼봅시다 !!
관련 이슈
#66
변경 사항
PR Point
간단히 테스트만 부탁드립니다 !!
Reference