Skip to content

Maximum update depth exceeded #39

Description

@specialCoder

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 |               <DeployControl />
      |               ^
  284 |             )}
  285 |             <StatusPill status={status} />
  286 |           </div>

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