Maximum call stack size exceeded
See original GitHub issueI just install this to React Native Debugger and I got
bundle.js:9 Uncaught RangeError: Maximum call stack size exceeded
was in this chuck of code
function i(e, t) {
var n = null;
return o(e, function(e) { // here
e.name === t && (n = e)
}, function(e) {
return e.children
}),
n
}
from this function
, function(e, t, n) {
"use strict";
function r(e) {
return e && e.__esModule ? e : {
default: e
}
}
function o(e, t, n) {
if (e) {
t(e);
var r = n(e);
if (r)
for (var i = r.length, a = 0; a < i; a++)
o(r[a], t, n)
}
}
function i(e, t) {
var n = null;
return o(e, function(e) {
e.name === t && (n = e)
}, function(e) {
return e.children
}),
n
}
function a(e) {
var t = arguments.length <= 1 || void 0 === arguments[1] ? {} : arguments[1]
, n = arguments.length <= 2 || void 0 === arguments[2] ? {
name: t.key || "state",
children: []
} : arguments[2];
if (!(0,
c.default)(e) && e && !e.toJS)
return {};
var r = t.key
, o = void 0 === r ? "state" : r
, u = t.pushMethod
, p = void 0 === u ? "push" : u
, f = i(n, o);
return null === f ? {} : ((0,
l.default)(e && e.toJS ? e.toJS() : e, function(e, t) {
var r = e && e.toJS ? e.toJS() : e
, o = {
name: t
};
if ((0,
s.default)(r)) {
o.children = [];
for (var i = 0; i < r.length; i++) {
var l;
o.children[p]((l = {
name: t + "[" + i + "]"
},
l[(0,
c.default)(r[i]) ? "object" : "value"] = r[i],
l))
}
} else
(0,
c.default)(r) ? o.children = [] : o.value = r;
f.children[p](o),
a(r, {
key: t,
pushMethod: p
}, n)
}),
n)
}
t.__esModule = !0,
t.default = a;
var s = r(n(147))
, c = r(n(758))
, l = r(n(760))
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >JavaScript Error: Maximum Call Stack Size Exceeded
If you see the “Maximum Call Stack Size Exceeded” error, there's likely a problem with a recursive function within your JavaScript code.
Read more >Uncaught RangeError: Maximum call ... - Net-Informations.Com
Maximum call stack size exceeded error ... This error is almost always means you have a problem with recursion in JavaScript code, as...
Read more >RangeError: Maximum call stack size exceeded - Educative.io
The most common source for this error is infinite recursion. You must have a recursive function in your code whose base case is...
Read more >Maximum Call Stack Size Exceeded (Typescript Error) - Medium
Scenario for Maximum Call Stack Size Exceeded Error ... In your code, the possibility is, You are calling a function that is calling...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the problem. When I combine mulitple store to one and pass when pass root reference to child. it will give this error For example like this. i When I remove
this
. problem went away. I think RN debugger cannot handle circular dependency.@yordis Did you solve this ? I have same issue.