Skip to content

Commit d169ad0

Browse files
authored
[UNI-120] feat : Tanstack-Query Dev Tools 설치 및 적용 (#52)
1 parent c8eda44 commit d169ad0

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

uniro_frontend/package-lock.json

+28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

uniro_frontend/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@react-spring/web": "^9.7.5",
1515
"@tailwindcss/vite": "^4.0.0",
1616
"@tanstack/react-query": "^5.66.0",
17+
"@tanstack/react-query-devtools": "^5.66.0",
1718
"framer-motion": "^12.0.6",
1819
"react": "^18.3.1",
1920
"react-dom": "^18.3.1",

uniro_frontend/src/App.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import OfflinePage from "./pages/offline";
1515
import useNetworkStatus from "./hooks/useNetworkStatus";
1616
import ErrorPage from "./pages/error";
1717
import { Suspense } from "react";
18+
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
1819

1920
const queryClient = new QueryClient();
2021

@@ -39,6 +40,7 @@ function App() {
3940
<Route path="/error/offline" element={<OfflinePage />} />
4041
</Routes>
4142
</Suspense>
43+
<ReactQueryDevtools initialIsOpen={false} />
4244
</QueryClientProvider>
4345
);
4446
}

0 commit comments

Comments
 (0)