UNPKG

@proofkit/cli

Version:

Create web application with the ProofKit stack

7 lines (5 loc) 244 B
import { QueryClient } from "@tanstack/react-query"; import { cache } from "react"; // cache() is scoped per request, so we don't leak data between requests const getQueryClient = cache(() => new QueryClient()); export default getQueryClient;