-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursive time loop bug #16
Comments
Gonna try proxying I think the only reason trapped views are consuming trapped views is because of re-execution on historical patch, which would explain the infinite recursion on patch when the component is deemed missing again, and another trap consumes the previous recursive trap, ad infinitum. |
Better idea: |
The root view trap can't capture a fully computed virtual DOM snapshot because of Mithril's deferred computation of nested components. This should solve the problem by capturing fully computed snapshots post render.
Patch works, but Mithril's |
Fixed in c7c9b94, released in v1.1.2 |
As seen in this fiddle (which goes into a crazy tailspin as soon as any redraw is triggered — which looks like a Mithril
key
bug),superConfig
can end up calling asuperConfig
. I would have thought this was impossible without processing views multiple times by saving the virtual DOM tree and reprocessing it in a subsequent view.Things to test:
superConfig
s but not, one would think, a multiply recursive one this deep…config
already bound?The text was updated successfully, but these errors were encountered: