feat: tests and benchmarks

This commit is contained in:
Jonathan Kelley committed 2021-08-23 13:15:57 -04:00
1 parent 2d541eca64
commit e6f56563bc
6 files changed
+251 -10

No files matched your search

+4 -2
View File
@@ -945,7 +945,8 @@ impl<'bump> DiffMachine<'bump> {
for child in RealChildIterator::new(next_new, self.vdom) {
let el = child.direct_id();
self.mutations.push_root(el);
self.mutations.insert_before(1);
todo!();
// self.mutations.insert_before(1);
}
} else {
self.stack.create_node(
@@ -990,7 +991,8 @@ impl<'bump> DiffMachine<'bump> {
for child in RealChildIterator::new(last_node, self.vdom) {
let el = child.direct_id();
self.mutations.push_root(el);
self.mutations.insert_after(1);
// self.mutations.insert_after(1);
todo!();
}
} else {
eprintln!("key is not contained {:?}", key);