-
Notifications
You must be signed in to change notification settings - Fork 3
Description
console.ts:39 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 getRootForUpdatedFiber (react-dom-client.development.js:3860:11)
at enqueueConcurrentRenderForLane (react-dom-client.development.js:3824:14)
at forceStoreRerender (react-dom-client.development.js:6123:18)
at react-dom-client.development.js:6109:41
at chat.react.ts:96:49
at Set.forEach ()
at ReactChatState. (chat.react.ts:96:29)
at ReactChatState.replaceMessage (chat.react.ts:63:5)
at write (chat.ts:558:28)
at process-ui-message-stream.ts:320:15
at chat.ts:548:11
at Array. (serial-job-executor.ts:26:17)
at SerialJobExecutor.processQueue (serial-job-executor.ts:15:25)
at serial-job-executor.ts:33:17
at new Promise ()
at SerialJobExecutor.run (serial-job-executor.ts:23:12)
at runUpdateMessageJob (chat.ts:547:26)
at Object.transform (process-ui-message-stream.ts:99:15)