document get_root_props_from_document

This commit is contained in:
Evan Almloff committed 2023-04-28 18:01:21 -05:00
1 parent 03a2824660
commit 581a4648de
5 files changed
+7 -5

No files matched your search

@@ -14,7 +14,7 @@ fn main() {
#[cfg(feature = "web")]
dioxus_web::launch_with_props(
app,
get_props_from_document().unwrap_or_default(),
get_root_props_from_document().unwrap_or_default(),
dioxus_web::Config::new().hydrate(true),
);
#[cfg(feature = "ssr")]
@@ -14,7 +14,7 @@ fn main() {
#[cfg(feature = "web")]
dioxus_web::launch_with_props(
app,
get_props_from_document().unwrap_or_default(),
get_root_props_from_document().unwrap_or_default(),
dioxus_web::Config::new().hydrate(true),
);
#[cfg(feature = "ssr")]
@@ -14,7 +14,7 @@ fn main() {
#[cfg(feature = "web")]
dioxus_web::launch_with_props(
app,
get_props_from_document().unwrap_or_default(),
get_root_props_from_document().unwrap_or_default(),
dioxus_web::Config::new().hydrate(true),
);
#[cfg(feature = "ssr")]