Download react-query/examples/react/algolia/src/App.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/algolia/src/App.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/algolia/src/App.tsx
-
curl -L -o App.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/algolia/src/App.tsx
394 Bytes
| import { QueryClient, QueryClientProvider } from '@tanstack/react-query' | |
| import './styles.css' | |
| import Search from './Search' | |
| const queryClient = new QueryClient() | |
| export default function App() { | |
| return ( | |
| <QueryClientProvider client={queryClient}> | |
| <div className="App"> | |
| <h1>TanStack Query with Algolia</h1> | |
| <Search /> | |
| </div> | |
| </QueryClientProvider> | |
| ) | |
| } | |