Download next.js/test/development/client-dev-overlay/pages/index.js 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/development/client-dev-overlay/pages/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/client-dev-overlay/pages/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/client-dev-overlay/pages/index.js
211 Bytes
| import React from 'react' | |
| // Create a runtime error. | |
| if ('window' in global) { | |
| throw Error('example runtime error') | |
| } | |
| const Page = () => { | |
| return <div>client-react-dev-overlay</div> | |
| } | |
| export default Page | |