UNPKG

create-swiftstart

Version:

Automate the setup of Vite-React & Next.js projects with a pre-designed boilerplate structure using create-swiftstart. This tool saves your time and provides a clean starting point for your React or Next.js applications.

10 lines (7 loc) 262 B
import { QueryClientProvider, QueryClient } from "@tanstack/react-query"; const queryClient = new QueryClient(); export const QueryProvider = ({ children }) => { return ( <QueryClientProvider client={queryClient}>{children}</QueryClientProvider> ); };