-
Notifications
You must be signed in to change notification settings - Fork 8
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] 지원서 작성 페이지 레이아웃 구성 #1251 #1258
The head ref may contain hidden characters: "Feat/1251-\uC9C0\uC6D0\uC11C-\uC791\uC131-\uD398\uC774\uC9C0-\uB808\uC774\uC544\uC6C3-\uAD6C\uC131"
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.
리뷰 늦어서 죄송합니다.. 🙇♀️ 하나만 확인해주시고 conflict 난거 해결 부탁드려요! 수고하셨습니다~!
hooks/recruit/useRecruitDetail.ts
Outdated
const { data, isLoading } = useQuery<IRecruitmentDetail>( | ||
['recruitDetail', id], | ||
async () => { | ||
const res = await mockInstance.get(`/recruitments/${id}`); | ||
return res.data; | ||
} | ||
); |
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.
지원서 데이터는 페이지 랜더링 시에 한번만 요청하면 될 것 같은데 useQuery에 따로 옵션을 주지 않으면 되게 자주 데이터를 새로 불러오게 되거든요 (저도 옵션을 설정해놨어야 했는데 지금 보니 빼먹었네요;;)
- https://growing-jiwoo.tistory.com/113#%E-%-C%--%--refetchOnMount
- https://tanstack.com/query/v4/docs/framework/react/guides/important-defaults
위 글들 읽어봤는데 refetchOnWindowFocus 옵션 정도는 false로 설정해도 되지 않을까 싶어요!
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.
수정했습니다. 새로운 내용 배워갑니다! 👍
top: 0; | ||
width: 25rem; | ||
background-color: rgba(246, 246, 246, 0.9); | ||
backdrop-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.
👍
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.
변경 사항 확인했습니다~! 수고하셨어용
📌 개요
💻 작업사항
✅ 변경로직