react-typing-animation
react-typing-animation copied to clipboard
Maximum call stack exceeded when looping
I have a looping typing animation and when it runs long enough I get the following error:
utils.js:130 Uncaught RangeError: Maximum call stack size exceeded
at WeakSet.has (<anonymous>)
at Object.<anonymous> (utils.js:130)
at Object.stringify (<anonymous>)
at Typing.componentDidUpdate (Typing.js:529)
at commitLifeCycles (react-dom.development.js:22058)
at commitLayoutEffects (react-dom.development.js:25286)
at HTMLUnknownElement.callCallback (react-dom.development.js:337)
at Object.invokeGuardedCallbackDev (react-dom.development.js:386)
at invokeGuardedCallback (react-dom.development.js:439)
at commitRootImpl (react-dom.development.js:25024)
at unstable_runWithPriority (scheduler.development.js:821)
at runWithPriority$2 (react-dom.development.js:12209)
at commitRoot (react-dom.development.js:24873)
at finishSyncRender (react-dom.development.js:24268)
at performSyncWorkOnRoot (react-dom.development.js:24248)
at react-dom.development.js:12263
at unstable_runWithPriority (scheduler.development.js:821)
at runWithPriority$2 (react-dom.development.js:12209)
at flushSyncCallbackQueueImpl (react-dom.development.js:12258)
at flushSyncCallbackQueue (react-dom.development.js:12246)
at scheduleUpdateOnFiber (react-dom.development.js:23649)
at Object.enqueueSetState (react-dom.development.js:14056)
at Typing.push../node_modules/react/cjs/react.development.js.Component.setState (react.development.js:315)
at Typing.js:172
at new Promise (<anonymous>)
at Typing._callee$ (Typing.js:171)
at tryCatch (runtime.js:63)
at Generator.invoke [as _invoke] (runtime.js:290)
at Generator.prototype.<computed> [as next] (runtime.js:116)
at step (Typing.js:87)
at Typing.js:105
at new Promise (<anonymous>)
at Typing.<anonymous> (Typing.js:84)
at Typing.updateState (Typing.js:184)
at Typing._callee4$ (Typing.js:295)
at tryCatch (runtime.js:63)
at Generator.invoke [as _invoke] (runtime.js:290)
at Generator.prototype.<computed> [as next] (runtime.js:116)
at step (Typing.js:87)
at Typing.js:105
at new Promise (<anonymous>)
at Typing.type (Typing.js:84)
at Typing._callee3$ (Typing.js:232)
at tryCatch (runtime.js:63)
at Generator.invoke [as _invoke] (runtime.js:290)
at Generator.prototype.<computed> [as next] (runtime.js:116)
at step (Typing.js:87)
at Typing.js:98
And another error that tells me the specific typing component which is causing the error.