Download next.js/test/integration/config-devtool-dev/pages/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 178 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/config-devtool-dev/pages/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/config-devtool-dev/pages/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/config-devtool-dev/pages/index.js
178 Bytes
| import { useEffect } from 'react' | |
| export default function Index(props) { | |
| useEffect(() => { | |
| throw new Error('this should render') | |
| }, []) | |
| return <div>Index Page</div> | |
| } | |