react-code-dataset / next.js /test /development /browser-logs /fixtures /app /edge-deep-stack /page.js
Download next.js/test/development/browser-logs/fixtures/app/edge-deep-stack/page.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/browser-logs/fixtures/app/edge-deep-stack/page.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/browser-logs/fixtures/app/edge-deep-stack/page.js
-
curl -L -o page.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/browser-logs/fixtures/app/edge-deep-stack/page.js
287 Bytes
| 'use client' | |
| export const runtime = 'edge' | |
| function functionA() { | |
| throw new Error('Deep stack error during render') | |
| } | |
| function functionB() { | |
| functionA() | |
| } | |
| function functionC() { | |
| functionB() | |
| } | |
| export default function EdgeDeepStackPage() { | |
| functionC() | |
| return <div></div> | |
| } | |