Allow deeper trees
No reason to limit at 100. I can't imagine a reasonable tree with depth over 10,000 but that should still be small enough to "catch infinite loops" quickly.
Ben Alpert committed
Jun 23, 2015 at 14:07 UTC
fdaefc1103f1d1d8c7fb7c2d428a20990383ff91
1 file changed
+1
-1
src/renderers/shared/reconciler/ReactInstanceHandles.js
+1
-1
@@ -22,7 +22,7 @@ var SEPARATOR_LENGTH = SEPARATOR.length;
22
/**
23
* Maximum depth of traversals before we consider the possibility of a bad ID.
24
*/
25
-var MAX_TREE_DEPTH = 100;
25
+var MAX_TREE_DEPTH = 10000;
26
27
/**
28
* Creates a DOM ID prefix to use when mounting React components.