Skip to content

Maximum update depth exceeded Error #32

Description

@Echoidf

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions