-
Notifications
You must be signed in to change notification settings - Fork 1
[Week4/mission] 첫 커스텀 훅 만들어보기, 로그인 / 회원가입 기능 구현해보기 (feat. 유효성 검사) #27
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
Conversation
duwlsssss
left a comment
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.
서버 연결이랑 회원가입도 구현 부탁해욥
너무 고생했어요 👏👏
| @@ -0,0 +1,23 @@ | |||
| VITE_TMDB_KEY=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiI0MzYwYjI5NzdjY2M1MzFiYmFiNDA3YmY2ZjRiYWY4ZCIsIm5iZiI6MTc0MzU2ODUzMC4xOTgwMDAyLCJzdWIiOiI2N2VjYmU5MmUxNTdhZWYzZjIwMTJkOGQiLCJzY29wZXMiOlsiYXBpX3JlYWQiXSwidmVyc2lvbiI6MX0.Qi_B2BzRgaD3lVQgwQY7Xx3XwgmfcqhJ5Xtu0Ha7oCY | |||
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.
.env .gitignore에 추가해야 할 것 같아요!!
| // console.log(isHovered); | ||
| return ( | ||
| <div | ||
| onClick={(): void | Promise<void> => navigate(`/movie/${item.id}`)} |
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.
여기서 return type으로 Promise는 필요 없을 것 같습니당
| //data type (detail,movie type이 섞임 | ||
| } | ||
|
|
||
| export default function useCustomFetch<T>(url: string): ApiResponse<T> { |
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.
혹시 파일 이름을 useCustomFetch가 아닌 useApiEffect로 한 이유가 있나요??
| import { Outlet } from "react-router-dom"; | ||
| import NavBar from "../components/Navbar"; | ||
|
|
||
| export default function Layout() { |
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.
이 파일은 안에서 Layout 컴포넌트를 default export하니까 이름을 Layout.tsx 로 수정하는 게 좋을 것 같아요!
leetaesk
left a comment
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.
고생하셨습니다
S-Gihun
left a comment
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.
고생하셨습니다 !
✏️ 작업 내용
#️⃣ 연관된 이슈
#20
📷 작업 결과
2025-04-10.163001.mp4
2025-04-10.163232.mp4
💡 함께 공유하고 싶은 부분
🤔 질문
✅ 워크북 체크리스트
✅ 컨벤션 체크리스트