Explorar o código

wip: broken diff

Jonathan Kelley %!s(int64=3) %!d(string=hai) anos
pai
achega
f15e1fa892
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/web/src/lib.rs

+ 1 - 0
packages/web/src/lib.rs

@@ -133,6 +133,7 @@ pub async fn run_with_props<T: Properties + 'static>(root: FC<T>, root_props: T,
     // hydrating is simply running the dom for a single render. If the page is already written, then the corresponding
     // ElementIds should already line up because the web_sys dom has already loaded elements with the DioxusID into memory
     if !should_hydrate {
+        log::info!("Applying rebuild edits..., {:?}", mutations);
         websys_dom.process_edits(&mut mutations.edits);
     } else {
         // websys dom processed the config and hydrated the dom already