Skip to content

Error: Maximum update depth exceeded. #700

@FrankChen-droid

Description

@FrankChen-droid

Reasonix: 0.39.1 (latest)
Platform: Windows 11, version 24H2
Terminal: Powershell
Node: 24.15.0

Error: 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 getRootForUpdated Fiber (C:\Users\MLTZ\AppData\Local\npm-cache_npx\8b87d63910bcac80\node_modules\react-reconciler\cjs\react-reconciler.development.js:4793:11)
at enqueueConcurrentHookUpdate (C:\Users\MLTZ\AppData\Local\npm-cache_npx\8b87d63910bcac80\node_modules\react-reconciler\cjs\react-reconciler.development.js:4753:14)
at dispatchSetStateInternal (C:\Users\MLTZ\AppData\Local\npm-cache_npx\8b87d63910bcac80\node_modules\react-reconciler\cjs\react-reconciler.development.js:6781:18)
at dispatchSetState (C:\Users\MLTZ\AppData\Local\npm-cache_npx\8b87d63910bcac80\node_modules\react-reconciler\cjs\react-reconciler.development.js:6741:7)
at file:///C:/Users/MLTZ/AppData/Local/npm-cache/_npx/8b87d63910bcac80/node_modules/ink/build/hooks/use-box-metrics.js:51:9
at emitLayoutListeners (file:///C:/Users/MLTZ/AppData/Local/npm-cache/_npx/8b87d63910bcac80/node_modules/ink/build/dom.js:140:9)
at resetAfterCommit (file:///C:/Users/MLTZ/AppData/Local/npm-cache/_npx/8b87d63910bcac80/node_modules/ink/build/reconciler.js:96:9)
at flushMutationEffects (C:\Users\MLTZ\AppData\Local\npm-cache_npx\8b87d63910bcac80\node_modules\react-reconciler\cjs\react-reconciler.development.js:15613:15)
at commitRoot (C:\Users\MLTZ\AppData\Local\npm-cache_npx\8b87d63910bcac80\node_modules\react-reconciler\cjs\react-reconciler.development.js:15585:9)
at commitRootWhenReady (C:\Users\MLTZ\AppData\Local\npm-cache_npx\8b87d63910bcac80\node_modules\react-reconciler\cjs\react-reconciler.development.js:14467:7)

Image

Reasonix crashed while I was using deepseek-v4-flash in my project. I had this problem in earlier versions too.

Main problem: Error: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions