Download next.js/test/e2e/app-dir/app-external/app/react-server/optout/page.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 466 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-external/app/react-server/optout/page.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-external/app/react-server/optout/page.js
-
curl -L -o page.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-external/app/react-server/optout/page.js
466 Bytes
| import v from 'conditional-exports-optout' | |
| import v1 from 'conditional-exports-optout/subpath' | |
| import { getReactVersion } from 'conditional-exports-optout/react' | |
| import Client from './client' | |
| export default function Page() { | |
| return ( | |
| <div> | |
| {`Server: ${v}`} | |
| <br /> | |
| {`Server subpath: ${v1}`} | |
| <br /> | |
| <Client /> | |
| <p id="optout-react-version"> | |
| {`opt-out-react-version: ${getReactVersion()}`} | |
| </p> | |
| </div> | |
| ) | |
| } | |