Merge pull request #213 from gbj/fix-hydration-mismatch

Closes #212
This commit is contained in:
Greg Johnston 2023-01-01 08:04:10 -05:00 committed by GitHub
commit 9ba06cd604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -699,7 +699,7 @@ macro_rules! generate_html_tags {
) {
#[cfg(debug_assertions)]
assert_eq!(
el.node_name(),
el.node_name().to_ascii_uppercase(),
stringify!([<$tag:upper>]),
"SSR and CSR elements have the same `TopoId` \
but different node kinds. This is either a \
@ -716,7 +716,7 @@ macro_rules! generate_html_tags {
) {
#[cfg(debug_assertions)]
assert_eq!(
el.node_name(),
el.node_name().to_ascii_uppercase(),
stringify!([<$tag:upper>]),
"SSR and CSR elements have the same `TopoId` \
but different node kinds. This is either a \

View file

@ -64,7 +64,7 @@ macro_rules! generate_math_tags {
) {
#[cfg(debug_assertions)]
assert_eq!(
el.node_name(),
el.node_name().to_ascii_uppercase(),
stringify!([<$tag:upper $(_ $second:upper $(_ $third:upper)?)?>]),
"SSR and CSR elements have the same `TopoId` \
but different node kinds. This is either a \
@ -81,7 +81,7 @@ macro_rules! generate_math_tags {
) {
#[cfg(debug_assertions)]
assert_eq!(
el.node_name(),
el.node_name().to_ascii_uppercase(),
stringify!([<$tag:upper $(_ $second:upper $(_ $third:upper)?)?>]),
"SSR and CSR elements have the same `TopoId` \
but different node kinds. This is either a \

View file

@ -61,7 +61,7 @@ macro_rules! generate_svg_tags {
) {
#[cfg(debug_assertions)]
assert_eq!(
el.node_name(),
el.node_name().to_ascii_uppercase(),
stringify!([<$tag:upper $(_ $second:upper $(_ $third:upper)?)?>]),
"SSR and CSR elements have the same `TopoId` \
but different node kinds. This is either a \
@ -78,7 +78,7 @@ macro_rules! generate_svg_tags {
) {
#[cfg(debug_assertions)]
assert_eq!(
el.node_name(),
el.node_name().to_ascii_uppercase(),
stringify!([<$tag:upper $(_ $second:upper $(_ $third:upper)?)?>]),
"SSR and CSR elements have the same `TopoId` \
but different node kinds. This is either a \