Download next.js/test/e2e/async-modules/pages/index.jsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/async-modules/pages/index.jsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/async-modules/pages/index.jsx
-
curl -L -o index.jsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/async-modules/pages/index.jsx
211 Bytes
| const value = await Promise.resolve(42) | |
| export default function Index({ appValue }) { | |
| return ( | |
| <main> | |
| <div id="app-value">{appValue}</div> | |
| <div id="page-value">{value}</div> | |
| </main> | |
| ) | |
| } | |