fix parents in placeholder diffing
This commit is contained in:
1 parent
b0733958f2
commit
c5ebdc9635
6 files changed
+50
-11
No files matched your search
@@ -85,7 +85,7 @@ fn app(cx: Scope) -> Element {
|
||||
};
|
||||
// The VNode is a reference to the template with the dynamic parts of the rsx
|
||||
::dioxus::core::VNode {
|
||||
parent: None,
|
||||
parent: Default::default(),
|
||||
key: None,
|
||||
// The static template this node will use. The template is stored in a Cell so it can be replaced with a new template when hot rsx reloading is enabled
|
||||
template: std::cell::Cell::new(TEMPLATE),
|
||||
|
||||
Reference in new issue
Block a user