Download next.js/test/development/app-dir/edge-errors-hmr/app/comp.server.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 218 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/edge-errors-hmr/app/comp.server.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/app-dir/edge-errors-hmr/app/comp.server.js
-
curl -L -o comp.server.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/edge-errors-hmr/app/comp.server.js
218 Bytes
| 'use client' | |
| export function CompServer() { | |
| return ( | |
| <div> | |
| <p>- This is a component (server)</p> | |
| {/* Uncomment the following line and save file to see the error: */} | |
| {/* < */} | |
| </div> | |
| ) | |
| } | |