Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

App.tsx

17 lines399 Bytes

1import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
2​
3import "./styles.css";
4import Search from "./Search";
5​
6const queryClient = new QueryClient();
7​
8export default function App() {
9 return (
10 <QueryClientProvider client={queryClient}>
11 <div className="App">
12 <h1>TanStack Query with Algolia</h1>
13 <Search />
14 </div>
15 </QueryClientProvider>
16 );