InternalError: too much recursion with 0.0.16
mattiash opened this issue · comments
When I upgraded my own application with pancake from 0.0.15 to 0.0.16, the application stopped working and showed
InternalError: too much recursion
in the console. The page at https://pancake-charts.surge.sh/ does not show the same problem (is it running 0.0.16?), but if you click Edit on the "Life Expectancy" graph, the repl (which is using 0.0.16) shows the same problem:
Uncaught DOMException: The object could not be cloned. srcdoc:130
Uncaught DOMException: The object could not be cloned. srcdoc:134
Uncaught (in promise) InternalError: too much recursion
add about:srcdoc line 86 > eval:3630
add about:srcdoc line 86 > eval:3656
add about:srcdoc line 86 > eval:3649
add about:srcdoc line 86 > eval:3656
...
The above error is from firefox. Safari shows a similar Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded.
Can confirm this also occurs in Chrome. This appears to break the interactivity of the life expectancy graph.
Take a look at #27, it fixes the recursion issue
I ran into the same issue and @MarceloPrado's branch fixed it for me. Thank you!