fix parents in placeholder diffing

This commit is contained in:
Evan Almloff committed 2023-08-31 14:17:26 -05:00
1 parent b0733958f2
commit c5ebdc9635
6 files changed
+50 -11

No files matched your search

+1 -1
View File
@@ -255,7 +255,7 @@ fn create_random_element(cx: Scope<DepthProps>) -> Element {
println!("{template:#?}");
let node = VNode {
key: None,
parent: None,
parent: Default::default(),
template: Cell::new(template),
root_ids: dioxus::core::exports::bumpalo::collections::Vec::new_in(cx.bump())
.into(),