Download next.js/test/e2e/app-dir/actions-revalidate-remount/app/loading.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 191 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/actions-revalidate-remount/app/loading.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/app-dir/actions-revalidate-remount/app/loading.tsx
-
curl -L -o loading.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/app-dir/actions-revalidate-remount/app/loading.tsx
191 Bytes
| 'use client' | |
| import { useEffect } from 'react' | |
| export default function Loading() { | |
| useEffect(() => { | |
| console.log('Root Loading Mounted') | |
| }, []) | |
| return <p>Root Page Loading</p> | |
| } | |