-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature/#297 - 가격 등락률 순 api 추가 #302
Conversation
@@ -13,5 +13,6 @@ export const useGetStockIndex = () => { | |||
return useQuery({ | |||
queryKey: ['stockIndex'], | |||
queryFn: getStockIndex, | |||
staleTime: 1000 * 60, |
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.
이 stale을 서버가 좋아합니다
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.
LGTM!
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.
LGTM ~ 👍
@swkim12345 @xjfcnfw3 PR 본문에 질문 확인해주세요!!! |
등락률은 9 ~ 16시까지 1분 주기이고 |
아하 감사합니다! 데이터를 언제까지 캐싱하고 있을지 고민이 되어 여쭤봤습니다 |
close #297
✅ 작업 내용
📸 스크린샷(FE만)
sort.mp4
✍ 궁금한 점
지수 정보/등락률 순 데이터를 서버에서 받아올 때 갱신되는 주기가 궁금합니다.
😎 체크 사항