Download next.js/test/e2e/app-dir/app-prefetch-static/app/layout.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-prefetch-static/app/layout.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/app-prefetch-static/app/layout.js
-
curl -L -o layout.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/app-prefetch-static/app/layout.js
381 Bytes
| import Link from 'next/link' | |
| export default function RootLayout({ children }) { | |
| return ( | |
| <html> | |
| <body> | |
| {children} | |
| <Link href="/se/static-prefetch" id="static-prefetch"> | |
| Static Prefetch | |
| </Link> | |
| <Link href="/se/dynamic-area/slug" id="dynamic-prefetch"> | |
| Dynamic Prefetch | |
| </Link> | |
| </body> | |
| </html> | |
| ) | |
| } | |