salesforce / lwc

⚡️ LWC - A Blazing Fast, Enterprise-Grade Web Components Foundation
https://lwc.dev
Other
1.6k stars 386 forks source link

perf: static-optimize `xlink:href` #4346

Closed nolanlawson closed 5 days ago

nolanlawson commented 1 week ago

Details

Partially addresses #4280

Adds support in the static content optimization for xlink:href and href when used in an SVG <use>.

Also adds some tests for uncovered test cases (e.g. boolean-true: <use xlink:href>).

Does this pull request introduce a breaking change?

Does this pull request introduce an observable change?