yew/packages
Siyuan Yan 93e862b1d0
fix: hydration panic on camelCased elements (#3876)
* fix: hydration panic on camelCased elements
        via namespace-aware tag comparison
* add test for hydration involving camelCase svg

Compare tags case-insensitively for HTML elements and case-sensitively
for namespaced elements (SVG, MathML) to match browser behavior.

Use eq_ignore_ascii_case for HTML namespace comparison

* fix: suppress the incompatible_msrv lint for newer rust versions
* fix: clippy warnings

- Allow incompatible_msrv for PanicInfo type (stable since 1.81.0)
- Allow dead_code for test struct Comp
- Remove unnecessary parentheses in closure

---------

Co-authored-by: Matt "Siyuan" Yan <mattsy1999@gmail.com>
Co-authored-by: WorldSEnder <6527051+WorldSEnder@users.noreply.github.com>
2025-08-08 13:10:44 +00:00
..