react-code-dataset / next.js /test /development /app-dir /source-mapping /app /server-client /page.js
Download next.js/test/development/app-dir/source-mapping/app/server-client/page.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/source-mapping/app/server-client/page.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/app-dir/source-mapping/app/server-client/page.js
-
curl -L -o page.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/source-mapping/app/server-client/page.js
240 Bytes
| import { Suspense } from 'react' | |
| import { useClient } from './client' | |
| function Component() { | |
| useClient() | |
| return <p>Hello, Dave</p> | |
| } | |
| export default function Page() { | |
| return ( | |
| <Suspense> | |
| <Component /> | |
| </Suspense> | |
| ) | |
| } | |