react-code-dataset / next.js /test /e2e /app-dir /app-static /app /unstable-cache /revalidate-button.tsx
Download next.js/test/e2e/app-dir/app-static/app/unstable-cache/revalidate-button.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 167 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-static/app/unstable-cache/revalidate-button.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-static/app/unstable-cache/revalidate-button.tsx
-
curl -L -o revalidate-button.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-static/app/unstable-cache/revalidate-button.tsx
167 Bytes
| 'use client' | |
| export function RevalidateButton({ onClick }) { | |
| return ( | |
| <form action={onClick}> | |
| <button type="submit">revalidate</button> | |
| </form> | |
| ) | |
| } | |