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

[Client] Add react query caching #208

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Conversation

hyeongrok7874
Copy link
Member

@hyeongrok7874 hyeongrok7874 commented Aug 22, 2023

개요 💡

react query의 caching 기능을 활용하기 위한 작업을 했습니다.

작업내용 ⌨️

  • client 애플리케이션의 QueryClient에 default option으로 cacheTime과 staleTIme 추가
  • getPostList의 query key 수정
  • useGetPostDetail에 존재하던 staleTime 옵션 제거

@vercel
Copy link

vercel bot commented Aug 22, 2023

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

Name Status Preview Comments Updated (UTC)
test-official-gsm-admin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 22, 2023 6:49am
test-official-gsm-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 22, 2023 6:49am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
official-gsm-admin ⬜️ Ignored (Inspect) Aug 22, 2023 6:49am
official-gsm-client ⬜️ Ignored (Inspect) Visit Preview Aug 22, 2023 6:49am
official-gsm-storybook ⬜️ Ignored (Inspect) Aug 22, 2023 6:49am

@hyeongrok7874 hyeongrok7874 merged commit 22d5a9b into develop Aug 23, 2023
6 checks passed
@hyeongrok7874 hyeongrok7874 deleted the feature/reactQueryCaching branch August 23, 2023 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants