Closed luukbrauckmann closed 2 weeks ago
https://github.com/voorhoede/head-start/blob/0de92d6a48232f7d1ddc4e7c3c9c0e326b4944de/src/components/Icon/Icon.astro#L20
xlink:href is a deprecated feature according to MDN Web docs. See link:
xlink:href
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
Should just use href instead or according to the documentation if you want support for really old browser you can also keep xlink:href next to href, but we shouldn't rely on it for modern browsers.
href
https://github.com/voorhoede/head-start/blob/0de92d6a48232f7d1ddc4e7c3c9c0e326b4944de/src/components/Icon/Icon.astro#L20
xlink:href
is a deprecated feature according to MDN Web docs. See link:https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
Should just use
href
instead or according to the documentation if you want support for really old browser you can also keepxlink:href
next tohref
, but we shouldn't rely on it for modern browsers.