fix hydration
This commit is contained in:
1 parent
d20422bb0f
commit
694bef0d93
8 files changed
+76
-21
No files matched your search
@@ -111,7 +111,7 @@ impl Config {
|
||||
#[cfg(not(feature = "ssr"))]
|
||||
{
|
||||
let cfg = self.web_cfg.hydrate(true);
|
||||
dioxus_web::run(
|
||||
dioxus_web::launch::launch_virtual_dom(
|
||||
// TODO: this should pull the props from the document
|
||||
build_virtual_dom(),
|
||||
cfg,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
//! This module contains the `launch` function, which is the main entry point for dioxus fullstack
|
||||
|
||||
use core::panic;
|
||||
use std::any::Any;
|
||||
|
||||
use dioxus_lib::prelude::{Element, VirtualDom};
|
||||
|
||||
Reference in new issue
Block a user