Download next.js/test/e2e/basepath/pages/ssr.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 151 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/basepath/pages/ssr.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/basepath/pages/ssr.js
-
curl -L -o ssr.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/basepath/pages/ssr.js
151 Bytes
| function SSRPage({ test }) { | |
| return <h1>{test}</h1> | |
| } | |
| SSRPage.getInitialProps = () => { | |
| return { | |
| test: 'hello', | |
| } | |
| } | |
| export default SSRPage | |