wip: almost there

This commit is contained in:
Jonathan Kelley committed 2021-09-24 02:10:54 -04:00
1 parent f07e345eb2
commit 047c810507
11 files changed
+155 -385

No files matched your search

-2
View File
@@ -6,7 +6,6 @@ fn main() {
// .. should result in an "invalid node tree"
let edits = vec![
CreateElement { tag: "div", id: 0 },
// CreatePlaceholder { id: 1 },
CreateElement { tag: "h1", id: 2 },
CreateTextNode {
text: "hello world",
@@ -15,7 +14,6 @@ fn main() {
AppendChildren { many: 1 },
AppendChildren { many: 1 },
AppendChildren { many: 1 },
// ReplaceWith { many: 1 },
];
dioxus_desktop::WebviewRenderer::run_with_edits(App, (), |c| c, Some(edits)).expect("failed");