Open
Conversation
undefined to ""
기존 cacheTime -> gcTime으로 명칭 변경됨
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1. 오류 해결
알람 확인 요청이 로그인되지 않은 상태에서도 계속 보내지는 오류
오류원인
로그인하지 않은 상태에서는 초기값이
accessToken = ""이며, 이는 enabled 설정인accessToken !== undefined에 걸리지 않음.해결방법
초기값
accessToken =''에 따라, enabled 설정을 동기화시킴.2. Tanstack-Query DevTools를 설치했습니다.
공식지원하는 도구로, 캐싱값의 상태를 우하단 아이콘을 눌러서 확인할 수 있습니다!