Skip to content
Source
Sign inSign up
fuko/trytanstackdb-v2
Open History to see the last commit

root-provider.tsx

10 lines213 Bytes

1import { QueryClient } from "@tanstack/react-query";
2​
3export function getContext() {
4 const queryClient = new QueryClient();
5​
6 return {
7 queryClient,
8 };
9}
10export default function TanstackQueryProvider() {}