Closed sukazavr closed 8 years ago
I am getting this as well.
Thanks for the detailed issue. I'll get this fixed up today with some tests.
Easy fix for this. It's available in rc7. Thanks for submitting the issue :dancer:
It was caused by the renderer trying to recurse down into the vnodes to remove all the components, but not accounting for text nodes.
Thank you! I appreciate your promptness :-)
Not sure if related, but I'm getting a similar error:
Uncaught TypeError: Cannot read property 'childNodes' of undefined
updateChildren: function updateChildren(changes) {
// Create a clone of the children so we can reference them later
// using their original position even if they move around
var childNodes = Array.prototype.slice.apply(DOMElement.childNodes); // <--
Example code:
First click on either link is successful, but click on the opposite link throws an exception:
There is the test build: test-build.zip