Download react-query/examples/react/react-router/src/routes/index.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 373 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/react-router/src/routes/index.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/react-router/src/routes/index.tsx
-
curl -L -o index.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/react/react-router/src/routes/index.tsx
373 Bytes
| export default function Index() { | |
| return ( | |
| <p id="zero-state"> | |
| This is a demo for integrating React Router with React Query. | |
| <br /> | |
| Check out{' '} | |
| <a href="https://reactrouter.com/"> | |
| the docs at reactrouter.com | |
| </a> and{' '} | |
| <a href="https://tanstack.com/query/v5/docs/">the docs at tanstack.com</a> | |
| . | |
| </p> | |
| ) | |
| } | |