-
Notifications
You must be signed in to change notification settings - Fork 3
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: 커피챗 후기 메인 페이지 적용 및 팝업 모달 스타일링 #1733
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.
너무 고생 많으셨습니다!! 🚀👍
startTransition(() => { | ||
if (tabletMedia.matches) { | ||
setListType('tablet'); | ||
} else if (desktopSmallMedia.matches) { | ||
setListType('scroll'); | ||
} else if (desktopLargeMedia.matches) { | ||
setListType('carousel-small'); | ||
} else { | ||
setListType('carousel-large'); | ||
} |
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.
단순 궁금증인데, 여기서 startTransition을 사용하신 이유가 궁금합니다!!!
startTransition은 무거운 작업으로 인해 화면의 반응성(ex. 사용자 입력 등..)이 중단되는 것을 방지하려고 사용된다고 이해하고 있어서요!
혹시 startTransition을 사용하기 전에는 화면 크기를 늘리고 줄이거나 할 때 버벅임이 있었나요?
)} | ||
|
||
<Header> | ||
<Title>{isLoading ? '' : isEmptyData ? '따끈한 후기가 도착했어요💌' : '따끈한 후기가 도착했어요💌'}</Title> |
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.
여기 조금 불필요한 분기가 들어간 것 같은데..!! isLoading과 isEmptyData일 때 Title에 대한 분기처리가 필요한 이유가 무엇이었나요?? (특히 isEmptyData에 대한 분기 결과값 두개가 동일해서..)
제 생각에는 isEmptyData이면 early return을 해서 CoffeeChatReview 섹션이 아예 안보이도록 하는게 어떨까 해요!
css` | ||
position: relative; | ||
|
||
/* filter: blur(5px); */ |
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.
주석 지우기!
🤫 쉿, 나한테만 말해줘요. 이슈넘버
🧐 어떤 것을 변경했어요~?
커피챗 후기 메인 페이지 적용 및 팝업 모달 스타일링을 구현해뒀습니다. 현재 API 개발 전, 먼저 스타일링을 우선 반영해뒀습니다.
🤔 그렇다면, 어떻게 구현했어요~?
일단 레거시 커피챗 카드 기반으로 캐러셀을 만들고, 현재는 카드 데이터로 되어있습니다!
📸 스크린샷, 없으면 이것 참,, 섭섭한데요?