Error Type
Runtime Error
Error Message
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
at PreviewPane (src/components/preview-pane.tsx:283:15)
at Home (src/app/page.tsx:91:15)
Code Frame
281 | produced html, and only on tabs that show the user that html. */}
282 | {(tab === "preview" || tab === "code") && status === "done" && html && (
283 |
| ^
284 | )}
285 |
286 |
Next.js version: 16.2.6 (Turbopack)
Error Type
Runtime Error
Error Message
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
Code Frame
281 | produced html, and only on tabs that show the user that html. */}
282 | {(tab === "preview" || tab === "code") && status === "done" && html && (
Next.js version: 16.2.6 (Turbopack)