fix hydration

This commit is contained in:
Evan Almloff committed 2024-01-18 10:47:10 -06:00
1 parent d20422bb0f
commit 694bef0d93
8 files changed
+76 -21

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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};