We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
현재 react-query의 staleTime과 gcTime 설정이 안 되어있습니다. 그래서 데이터를 불러오자마자 stale 처리되어 매 번 데이터를 다시 불러오게 되는 문제가 있습니다.
stale time
gc time
적절한 staleTime, gcTime 값을 설정해서 특정 시간 내에서 다시 요청했을 땐 실제 api를 호출하지 않고 캐싱된 데이터를 사용할 수 있도록 설정할 것입니다.
The text was updated successfully, but these errors were encountered:
jinhokim98
Successfully merging a pull request may close this issue.
📄 설명
현재 react-query의 staleTime과 gcTime 설정이 안 되어있습니다.
그래서 데이터를 불러오자마자 stale 처리되어 매 번 데이터를 다시 불러오게 되는 문제가 있습니다.
stale time
gc time
적절한 staleTime, gcTime 값을 설정해서 특정 시간 내에서 다시 요청했을 땐 실제 api를 호출하지 않고 캐싱된 데이터를 사용할 수 있도록 설정할 것입니다.
🏁 할 일
🫡 참고사항
The text was updated successfully, but these errors were encountered: