Merge pull request #1324 from ealmloff/bool-attrs-ssr
Fix boolean attribute rendering in SSR
This commit is contained in:
6 files changed
+139
-26
No files matched your search
@@ -35,7 +35,7 @@ use crate::utils::use_router_internal::use_router_internal;
|
||||
///
|
||||
/// #[component]
|
||||
/// fn Index(cx: Scope) -> Element {
|
||||
/// let path = use_route(&cx).unwrap();
|
||||
/// let path: Route = use_route(&cx).unwrap();
|
||||
/// render! {
|
||||
/// h2 { "Current Path" }
|
||||
/// p { "{path}" }
|
||||
|
||||
Reference in new issue
Block a user