Feat: patch to diff to allow scopes

This commit is contained in:
Jonathan Kelley committed 2021-02-27 22:52:32 -05:00
1 parent e840f472fa
commit 2041c88d07
2 files changed
+13 -5

No files matched your search

+5 -1
View File
@@ -98,7 +98,11 @@ impl VirtualDom {
component.run::<()>();
diff_machine.diff_node(component.old_frame(), component.new_frame());
diff_machine.diff_node(
component.old_frame(),
component.new_frame(),
Some(self.base_scope),
);
Ok(diff_machine.consume())
}