feat: more and more sophisticated diff

This commit is contained in:
Jonathan Kelley committed 2021-07-29 18:56:09 -04:00
1 parent d618092e9d
commit 1749eba8eb
3 files changed
+76 -58

No files matched your search

+1 -1
View File
@@ -342,7 +342,7 @@ impl VirtualDom {
let meta = diff_machine.create_vnode(&*nodes);
// replace the placeholder with the new nodes we just pushed on the stack
diff_machine.edit_replace_with(meta.added_to_stack);
diff_machine.edit_replace_with(1, meta.added_to_stack);
}
}
}