Download next.js/test/e2e/app-dir/app-static/app/force-static/page.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-static/app/force-static/page.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-static/app/force-static/page.js
-
curl -L -o page.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-static/app/force-static/page.js
241 Bytes
| // this should be dynamic as it doesn't specify force-static | |
| // and the parent layout uses `headers()` | |
| export default function Page() { | |
| return ( | |
| <> | |
| <p id="page">/force-static</p> | |
| <p id="now">{Date.now()}</p> | |
| </> | |
| ) | |
| } | |