Download next.js/test/e2e/app-dir/app-css/app/not-found/clientcomponent/page.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 254 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-css/app/not-found/clientcomponent/page.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-css/app/not-found/clientcomponent/page.js
-
curl -L -o page.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-css/app/not-found/clientcomponent/page.js
254 Bytes
| // TODO-APP: enable when flight error serialization is implemented | |
| import ClientComp from './client-component' | |
| import { headers } from 'next/headers' | |
| export default async function Page() { | |
| // Opt-in to SSR. | |
| await headers() | |
| return <ClientComp /> | |
| } | |