Merge pull request #396 from leptos-rs/hydration-fix-small-wasm

Fix hydration issue related to WASM size reduction
This commit is contained in:
Greg Johnston 2023-01-28 07:16:23 -05:00 committed by GitHub
commit 087eb18c8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -919,7 +919,7 @@ fn create_leptos_element(
#[cfg(debug_assertions)] #[cfg(debug_assertions)]
assert_eq!( assert_eq!(
el.node_name().to_ascii_uppercase(), el.node_name().to_ascii_uppercase(),
stringify!([<$tag:upper>]), tag,
"SSR and CSR elements have the same `TopoId` but different node \ "SSR and CSR elements have the same `TopoId` but different node \
kinds. This is either a discrepancy between SSR and CSR rendering kinds. This is either a discrepancy between SSR and CSR rendering
logic, which is considered a bug, or it can also be a leptos \ logic, which is considered a bug, or it can also be a leptos \