Closed devsnek closed 7 years ago
Hi, I tried the code above but couldn't replicate the error. Could you share a full HTML? That would be helpful for debugging.
Actually, i've been taking a possibly related problem this morning, which occurs when injecting into an existing element (such as body
). This was the fix, I'm not sure if this would help fix your case, but please do try out the latest update from the develop branch and see if that fixes the problem.
thank you!
this appears to have fixed it, closing for now
Something causes Gene.diff to create a diff with an undefined item, which causes errors when building a new Membrane because reading
$type
of undefined.The fix I specify below is probably not the right thing to do because of the way the error is triggered (see below). The addition of the
$update
function and the root cell beingbody
are what specifically cause this error to happen.Code to repro:
My current fix: