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

[#56] Feat: 좋아요한 짤 api 및 커스텀 훅 구현 #59

Merged
merged 18 commits into from
Mar 4, 2024

Conversation

Kim-Jaemin420
Copy link
Contributor

📝 작업 내용

  1. 좋아요한 짤 api와 커스텀 훅 구현
    useSuspenseInfiniteQuery를 사용하여 커스텀 훅 구현

  2. 뷰포트 크기에 맞게 열 개수를 조절

  3. ZzalCard 수정
    이미지 크기 이상의 높이를 가져서 h-fit 추가

  4. pending 컴포넌트 선언
    suspense 사용으로 인해 pending 컴포넌트가 필요해 우선 선언만 해두었습니다.

close #56

@Kim-Jaemin420 Kim-Jaemin420 added the ✨ Feature 새로운 기능 추가 label Feb 22, 2024
@Kim-Jaemin420 Kim-Jaemin420 self-assigned this Feb 22, 2024
Copy link

vercel bot commented Feb 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zzalmyu-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 4, 2024 11:08am

Comment on lines 22 to 24
<div className="mb-4 inline-block break-inside-avoid">
<ZzalCard src={path} alt="" />
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 부분 key가 빠진것 같습니다 !! ㅎㅎ

import { GetMyLikedZzalsResponse } from "@/types/zzal.dto";
import http from "./core";

const SIZE = 10;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 부분 따로 Constants 폴더에서 관리하지 않아도 될까요??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 아직 확정이 아니라서 우선 여기에 뒀는데 확정되면 옮기려구요!

Copy link
Contributor

@yjc2021 yjc2021 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다 재민님!
LGTM입니다 👍

Copy link
Contributor

@choi-ik choi-ik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~~!🎉🎉🎉🎉

@Kim-Jaemin420 Kim-Jaemin420 merged commit 0827b38 into main Mar 4, 2024
3 checks passed
@Kim-Jaemin420 Kim-Jaemin420 deleted the #56/feature/liked-zzals-api branch March 4, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 새로운 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

유저의 좋아요한 짤을 볼 수 있는 api 함수 및 커스텀 훅 구현
3 participants