-
-
Notifications
You must be signed in to change notification settings - Fork 927
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
Node.appendChild is not an object #1991
Comments
Thanks for the report. While trying to reduce this, I ended up with another weird issue:
leaves the DOM as Something is amiss in the land of nested fragments. |
Making some progress. Edit: Even using #1675 with the #1992 fix doesn't solve the issue if you set
Edit again: Here's a version where |
Making some more progress on my sample case: replacing Still that doesn't get us rid of the 5, nor does it solve @starsolaris' crash. Edit: my bad, good news, I had not picked the right Flems to test @starsolaris' sample. replacing |
@pygy I seriously look forward to seeing this PR... |
@starsolaris Thanks for verifying. The rectangle remaining on screen probably has the same cause as the |
I cannot make example for now, but in next branch with fix i get new exception:
|
@starsolaris Could you try with this version that disables the pool altogether? |
@pygy i checked this version: no exceptions, no not removed nodes. |
@pygy For context, Inferno has the option to disable pooling, which avoids certain glitches with custom elements. We may want to investigate this option, too (if for anything, just testing). |
@isiahmeadows #1675 sets @starsolaris you had memory leaks otherwise? |
@pygy Oh okay. I forgot about that. (I've literally never used it outside Mithril core.) |
@pyty with the version that disables the pool, i had no memory leak for now. |
@pygy is there any progress on this issue? |
@starsolaris No progress last week, sorry. Hopefully I'll finish this in the coming days. |
fix MithrilJS#2003 partim 1 fix MithrilJS#1991 partim 1
…with actual fragments (fix MithrilJS#1991 partim 2)
fix MithrilJS#2003 partim 1 fix MithrilJS#1991 partim 1
…with actual fragments (fix MithrilJS#1991 partim 2)
…with actual fragments (fix #1991 partim 2)
fix MithrilJS#2003 partim 1 fix MithrilJS#1991 partim 1
…with actual fragments (fix MithrilJS#1991 partim 2)
fix MithrilJS#2003 partim 1 fix MithrilJS#1991 partim 1
…with actual fragments (fix MithrilJS#1991 partim 2)
Mithril throw error to console
Current Behavior
TypeError: Argument 1 of Node.appendChild is not an object.
Steps to Reproduce (for bugs)
Example
Your Environment
On FF 52.4.0 and Edge 15 reproduced on every run, on Chrome 61 not every run.
Windows 10
The text was updated successfully, but these errors were encountered: