반응형
QueryClient 는 캐시와 상호작용 할 때 사용한다
import { QueryClient } from "react-query";
const queryClient = new QueryClient({
defaultOptions: {
queries: {
staleTime: Infinity,
},
},
});
반응형
'React' 카테고리의 다른 글
유료 강좌 사이트 (0) | 2024.01.17 |
---|---|
cordova 아카이브 (0) | 2023.12.27 |
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists. 오류 해결방법 (1) | 2023.12.26 |
https://github.com/ytkj/ag-grid-axios (0) | 2023.12.18 |
Typescript 환경의 Ag-Grid 숫자 전용 입력 창(numericcelleditor) (0) | 2023.12.18 |