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

[Feat] 프로젝트 생성 기능 구현 #94

Merged
merged 2 commits into from
Nov 18, 2024
Merged

[Feat] 프로젝트 생성 기능 구현 #94

merged 2 commits into from
Nov 18, 2024

Conversation

iam454
Copy link
Collaborator

@iam454 iam454 commented Nov 18, 2024

관련 이슈 번호

#85

작업 내용

  • 프로젝트 생성 모달
  • 프로젝트 생성 api 연동

스크린샷

Screen.Recording.2024-11-18.at.8.23.43.PM.mov

@iam454 iam454 added Feature 새로운 기능을 추가 FE 클라이언트 작업 labels Nov 18, 2024
@iam454 iam454 self-assigned this Nov 18, 2024
title: z
.string()
.min(1, 'Title is required.')
.regex(/^[a-zA-Z0-9 ]*$/, 'Only English letters and numbers are allowed.'),
Copy link
Collaborator

Choose a reason for hiding this comment

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

영어만 가능! 적용하셨군요!

register,
handleSubmit,
formState: { errors },
} = useForm<CreateProjectRequestDTO>({
Copy link
Collaborator

Choose a reason for hiding this comment

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

🟢
Dto 가 약자임을 알지만, 저는 보통 Dto 라고 마무리합니다.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ㅋㅋㅋ고민하다가 이렇게 했는데, 뭐로 맞출까용

@@ -0,0 +1,83 @@
import axios from 'axios';
Copy link
Collaborator

Choose a reason for hiding this comment

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

라우트에서 쿼리 동작을 분리하신 이유가 궁금해요~

Copy link
Collaborator

Choose a reason for hiding this comment

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

뭔가 걸려서 다시보니, 양쪽다 있네요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

https://tanstack.com/router/latest/docs/framework/react/guide/external-data-loading#a-more-realistic-example-using-tanstack-query
TanStack/router#1563

요것들을 참고했습니다.
메인테이너인 도도씨가 loader는 캐시를 심기 위한 용도라고 하네요..

});

return (
<TabView>
Copy link
Collaborator

Choose a reason for hiding this comment

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


여기에는 로 감싸지 않아도 되는 것인가요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

리뷰가 누락되어있는 것 같은데요!?

Copy link
Collaborator

Choose a reason for hiding this comment

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

그러네요

서스펜스에 대해 언급했었습니다.
useSuspenseQuery 가 적용되어 있는데, 해당 부분을 제가 못찾은 건지...

@jjeonghak
Copy link
Collaborator

base response 적용해두겠습니다~

@iam454 iam454 merged commit a625d46 into dev Nov 18, 2024
1 check passed
@iam454
Copy link
Collaborator Author

iam454 commented Nov 18, 2024

정한님 적용 끝나면 수정할게용

@iam454 iam454 deleted the feat/#85 branch November 18, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE 클라이언트 작업 Feature 새로운 기능을 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants