Download next.js/test/e2e/app-dir/actions/app/client-static/[[...path]]/page.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/actions/app/client-static/%5B%5B...path%5D%5D/page.js
- Command line
-
hf download 'hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/actions/app/client-static/[[...path]]/page.js'
-
curl -L -o page.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/actions/app/client-static/%5B%5B...path%5D%5D/page.js
327 Bytes
| import { Counter } from '../../../components/Counter' | |
| import { incrementCounter } from '../actions' | |
| export default function Page() { | |
| return ( | |
| <div> | |
| <Counter onClick={incrementCounter} /> | |
| </div> | |
| ) | |
| } | |
| export const revalidate = 60 | |
| export async function generateStaticParams() { | |
| return [{ path: ['asdf'] }] | |
| } | |