mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
remove logs
This commit is contained in:
parent
341bc7f6a1
commit
c4d6f19b38
1 changed files with 0 additions and 8 deletions
|
@ -65,18 +65,10 @@ impl VNode {
|
||||||
dom: &mut VirtualDom,
|
dom: &mut VirtualDom,
|
||||||
to: &mut impl WriteMutations,
|
to: &mut impl WriteMutations,
|
||||||
) {
|
) {
|
||||||
println!(
|
|
||||||
"diffing vcomponent: {new:#?} vs {old:#?}",
|
|
||||||
new = new,
|
|
||||||
old = old
|
|
||||||
);
|
|
||||||
|
|
||||||
// Replace components that have different render fns
|
// Replace components that have different render fns
|
||||||
if old.render_fn != new.render_fn {
|
if old.render_fn != new.render_fn {
|
||||||
println!("render fns are different, replacing");
|
|
||||||
return self.replace_vcomponent(mount, idx, new, parent, dom, to);
|
return self.replace_vcomponent(mount, idx, new, parent, dom, to);
|
||||||
}
|
}
|
||||||
println!("render fns are the same, continuing");
|
|
||||||
|
|
||||||
// copy out the box for both
|
// copy out the box for both
|
||||||
let old_scope = &mut dom.scopes[scope_id.0];
|
let old_scope = &mut dom.scopes[scope_id.0];
|
||||||
|
|
Loading…
Reference in a new issue